diff --git a/extensions/github-copilot/index.ts b/extensions/github-copilot/index.ts index 6ba7a5924a9..6e843ec7658 100644 --- a/extensions/github-copilot/index.ts +++ b/extensions/github-copilot/index.ts @@ -321,8 +321,8 @@ export default definePluginEntry({ choiceLabel: "GitHub Copilot", choiceHint: "Device login with your GitHub account", methodId: "device", - modelAllowlist: { - loadCatalog: true, + modelSelection: { + promptWhenAuthChoiceProvided: true, }, }, }, diff --git a/src/commands/configure.gateway-auth.prompt-auth-config.test.ts b/src/commands/configure.gateway-auth.prompt-auth-config.test.ts index 48e82086c76..41cca5989ef 100644 --- a/src/commands/configure.gateway-auth.prompt-auth-config.test.ts +++ b/src/commands/configure.gateway-auth.prompt-auth-config.test.ts @@ -345,8 +345,8 @@ describe("promptAuthConfig", () => { auth: [], wizard: { setup: { - modelAllowlist: { - loadCatalog: true, + modelSelection: { + promptWhenAuthChoiceProvided: true, }, }, }, diff --git a/src/plugin-sdk/github-copilot-login.ts b/src/plugin-sdk/github-copilot-login.ts index 2a42bec9203..aa688554ac0 100644 --- a/src/plugin-sdk/github-copilot-login.ts +++ b/src/plugin-sdk/github-copilot-login.ts @@ -4,7 +4,7 @@ import { loadBundledPluginPublicSurfaceModuleSync } from "./facade-loader.js"; type FacadeModule = { githubCopilotLoginCommand: ( - opts: { profileId?: string; yes?: boolean }, + opts: { profileId?: string; yes?: boolean; agentDir?: string }, runtime: RuntimeEnv, ) => Promise; };