From d80adac3fc83e18235c2ebaff72f5c33e8e4bf8a Mon Sep 17 00:00:00 2001 From: YeonGyu-Kim Date: Mon, 2 Feb 2026 21:13:45 +0900 Subject: [PATCH] feat(agents): add grok-code-fast-1 as primary model for explore agent --- src/shared/model-requirements.test.ts | 14 +++++++------- src/shared/model-requirements.ts | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/shared/model-requirements.test.ts b/src/shared/model-requirements.test.ts index f8bb2527f..05d1d5568 100644 --- a/src/shared/model-requirements.test.ts +++ b/src/shared/model-requirements.test.ts @@ -59,24 +59,24 @@ describe("AGENT_MODEL_REQUIREMENTS", () => { expect(primary.model).toBe("glm-4.7") }) - test("explore has valid fallbackChain with claude-haiku-4-5 as primary", () => { + test("explore has valid fallbackChain with grok-code-fast-1 as primary", () => { // given - explore agent requirement const explore = AGENT_MODEL_REQUIREMENTS["explore"] // when - accessing explore requirement - // then - fallbackChain exists with claude-haiku-4-5 as first entry, gpt-5-mini as second, gpt-5-nano as third + // then - fallbackChain exists with grok-code-fast-1 as first entry, claude-haiku-4-5 as second expect(explore).toBeDefined() expect(explore.fallbackChain).toBeArray() expect(explore.fallbackChain).toHaveLength(3) const primary = explore.fallbackChain[0] - expect(primary.providers).toContain("anthropic") - expect(primary.providers).toContain("opencode") - expect(primary.model).toBe("claude-haiku-4-5") + expect(primary.providers).toContain("github-copilot") + expect(primary.model).toBe("grok-code-fast-1") const secondary = explore.fallbackChain[1] - expect(secondary.providers).toContain("github-copilot") - expect(secondary.model).toBe("gpt-5-mini") + expect(secondary.providers).toContain("anthropic") + expect(secondary.providers).toContain("opencode") + expect(secondary.model).toBe("claude-haiku-4-5") const tertiary = explore.fallbackChain[2] expect(tertiary.providers).toContain("opencode") diff --git a/src/shared/model-requirements.ts b/src/shared/model-requirements.ts index 94ebf9fdf..8b5eabc11 100644 --- a/src/shared/model-requirements.ts +++ b/src/shared/model-requirements.ts @@ -44,8 +44,8 @@ export const AGENT_MODEL_REQUIREMENTS: Record = { }, explore: { fallbackChain: [ + { providers: ["github-copilot"], model: "grok-code-fast-1" }, { providers: ["anthropic", "opencode"], model: "claude-haiku-4-5" }, - { providers: ["github-copilot"], model: "gpt-5-mini" }, { providers: ["opencode"], model: "gpt-5-nano" }, ], },