fix(onboard): align xAI default model to grok-4

This commit is contained in:
George Pickett
2026-02-05 15:04:20 -08:00
parent db31c0ccca
commit 155dfa93e5
7 changed files with 71 additions and 9 deletions

View File

@@ -65,7 +65,7 @@ describe("onboard (non-interactive): xAI", () => {
expect(cfg.auth?.profiles?.["xai:default"]?.provider).toBe("xai");
expect(cfg.auth?.profiles?.["xai:default"]?.mode).toBe("api_key");
expect(cfg.agents?.defaults?.model?.primary).toBe("xai/grok-2-latest");
expect(cfg.agents?.defaults?.model?.primary).toBe("xai/grok-4");
const { ensureAuthProfileStore } = await import("../agents/auth-profiles.js");
const store = ensureAuthProfileStore();