mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 06:30:42 +00:00
fix(ci): repair github copilot setup types
This commit is contained in:
@@ -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,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
@@ -345,8 +345,8 @@ describe("promptAuthConfig", () => {
|
||||
auth: [],
|
||||
wizard: {
|
||||
setup: {
|
||||
modelAllowlist: {
|
||||
loadCatalog: true,
|
||||
modelSelection: {
|
||||
promptWhenAuthChoiceProvided: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
@@ -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<void>;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user