Skip to content

Commit 9effa52

Browse files
committed
Require Grok 4.6 in the xAI OAuth model catalog
Failing expectation for the OAuth default model list so the catalog can pick up Grok 4.6 while keeping grok-4.5 as the session default. CL-5933
1 parent 2c4effc commit 9effa52

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

‎src/config/xai-providers.test.ts‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,10 @@ import {
1212
} from "./xai-providers.js";
1313

1414
describe("xAI OAuth provider projection", () => {
15-
test("default models mirror grok CLI catalog", () => {
16-
expect([...XAI_DEFAULT_MODELS]).toEqual(["grok-4.5", "grok-composer-2.5-fast"]);
17-
expect(XAI_DEFAULT_MODELS[0]).toBe("grok-4.5");
15+
test("default models include Grok 4.6 while defaulting to the CLI coding model", () => {
16+
const models: string[] = [...XAI_DEFAULT_MODELS];
17+
expect(models).toEqual(["grok-4.5", "grok-4.6", "grok-composer-2.5-fast"]);
18+
expect(models[0]).toBe("grok-4.5");
1819
});
1920

2021
const profile: XaiProfile = {

0 commit comments

Comments
 (0)