refactor(cli): drop ModelsDev Promise compat shim (#25460)

This commit is contained in:
Kit Langton
2026-05-02 15:11:01 -04:00
committed by GitHub
parent 6cd02c05c2
commit 05b82a6a30
3 changed files with 8 additions and 13 deletions
+1 -1
View File
@@ -212,7 +212,7 @@ export const GithubInstallCommand = cmd({
const app = await getAppInfo()
await installGitHubApp()
const providers = await ModelsDev.get().then((p) => {
const providers = await AppRuntime.runPromise(ModelsDev.Service.use((s) => s.get())).then((p) => {
// TODO: add guide for copilot, for now just hide it
delete p["github-copilot"]
return p