Skip to content

Commit d8b9ace

Browse files
committed
fix(ci): repair github copilot setup types
1 parent d30ba53 commit d8b9ace

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

‎extensions/github-copilot/index.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -321,8 +321,8 @@ export default definePluginEntry({
321321
choiceLabel: "GitHub Copilot",
322322
choiceHint: "Device login with your GitHub account",
323323
methodId: "device",
324-
modelAllowlist: {
325-
loadCatalog: true,
324+
modelSelection: {
325+
promptWhenAuthChoiceProvided: true,
326326
},
327327
},
328328
},

‎src/commands/configure.gateway-auth.prompt-auth-config.test.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -345,8 +345,8 @@ describe("promptAuthConfig", () => {
345345
auth: [],
346346
wizard: {
347347
setup: {
348-
modelAllowlist: {
349-
loadCatalog: true,
348+
modelSelection: {
349+
promptWhenAuthChoiceProvided: true,
350350
},
351351
},
352352
},

‎src/plugin-sdk/github-copilot-login.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { loadBundledPluginPublicSurfaceModuleSync } from "./facade-loader.js";
44

55
type FacadeModule = {
66
githubCopilotLoginCommand: (
7-
opts: { profileId?: string; yes?: boolean },
7+
opts: { profileId?: string; yes?: boolean; agentDir?: string },
88
runtime: RuntimeEnv,
99
) => Promise<void>;
1010
};

0 commit comments

Comments
 (0)