diff --git a/src/shared/model-requirements.test.ts b/src/shared/model-requirements.test.ts index 55b94825..908f9b20 100644 --- a/src/shared/model-requirements.test.ts +++ b/src/shared/model-requirements.test.ts @@ -86,19 +86,19 @@ describe("AGENT_MODEL_REQUIREMENTS", () => { expect(quaternary.model).toBe("gpt-5-nano") }) - test("multimodal-looker has valid fallbackChain with gemini-3-flash as primary", () => { + test("multimodal-looker has valid fallbackChain with k2p5 as primary", () => { // given - multimodal-looker agent requirement const multimodalLooker = AGENT_MODEL_REQUIREMENTS["multimodal-looker"] // when - accessing multimodal-looker requirement - // then - fallbackChain exists with gemini-3-flash as first entry + // then - fallbackChain exists with k2p5 as first entry expect(multimodalLooker).toBeDefined() expect(multimodalLooker.fallbackChain).toBeArray() expect(multimodalLooker.fallbackChain.length).toBeGreaterThan(0) const primary = multimodalLooker.fallbackChain[0] - expect(primary.providers[0]).toBe("google") - expect(primary.model).toBe("gemini-3-flash") + expect(primary.providers[0]).toBe("kimi-for-coding") + expect(primary.model).toBe("k2p5") }) test("prometheus has claude-opus-4-6 as primary", () => { diff --git a/src/shared/model-requirements.ts b/src/shared/model-requirements.ts index 7b141ad5..54ebdb69 100644 --- a/src/shared/model-requirements.ts +++ b/src/shared/model-requirements.ts @@ -53,13 +53,11 @@ export const AGENT_MODEL_REQUIREMENTS: Record = { }, "multimodal-looker": { fallbackChain: [ + { providers: ["kimi-for-coding"], model: "k2p5" }, + { providers: ["opencode"], model: "kimi-k2.5-free" }, { providers: ["google", "github-copilot", "opencode"], model: "gemini-3-flash" }, { providers: ["openai", "github-copilot", "opencode"], model: "gpt-5.2" }, { providers: ["zai-coding-plan"], model: "glm-4.6v" }, - { providers: ["kimi-for-coding"], model: "k2p5" }, - { providers: ["opencode"], model: "kimi-k2.5-free" }, - { providers: ["anthropic", "github-copilot", "opencode"], model: "claude-haiku-4-5" }, - { providers: ["opencode"], model: "gpt-5-nano" }, ], }, prometheus: {