mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 10:40:43 +00:00
test(github-copilot): cover opus default model
This commit is contained in:
@@ -63,6 +63,10 @@ function requireResolvedModel(ctx: ProviderResolveDynamicModelContext) {
|
||||
|
||||
describe("github-copilot model defaults", () => {
|
||||
describe("getDefaultCopilotModelIds", () => {
|
||||
it("includes claude-opus-4.6", () => {
|
||||
expect(getDefaultCopilotModelIds()).toContain("claude-opus-4.6");
|
||||
});
|
||||
|
||||
it("includes claude-sonnet-4.6", () => {
|
||||
expect(getDefaultCopilotModelIds()).toContain("claude-sonnet-4.6");
|
||||
});
|
||||
|
||||
@@ -366,7 +366,7 @@ export function describeGithubCopilotProviderAuthContract() {
|
||||
},
|
||||
},
|
||||
],
|
||||
defaultModel: "github-copilot/gpt-4o",
|
||||
defaultModel: "github-copilot/claude-opus-4.6",
|
||||
});
|
||||
} finally {
|
||||
if (previousIsTTYDescriptor) {
|
||||
|
||||
Reference in New Issue
Block a user