fix(cli): keep mini-fast primary in openai-only install catalog

OPENAI_ONLY_AGENT_OVERRIDES was rewriting explore and librarian back to
gpt-5.4 medium for OpenAI-only installs. Match the runtime primary so the
install default stays on gpt-5.4-mini-fast.
This commit is contained in:
YeonGyu-Kim
2026-04-21 14:23:39 +09:00
parent 6914b44957
commit 3a6bd93252
4 changed files with 11 additions and 15 deletions
+3 -3
View File
@@ -355,9 +355,9 @@ describe("generateModelConfig", () => {
// #when generateModelConfig is called
const result = generateModelConfig(config)
// #then explore should use native OpenAI model
expect(result.agents?.explore?.model).toBe("openai/gpt-5.4")
expect(result.agents?.explore?.variant).toBe("medium")
// #then explore should use native OpenAI mini-fast (primary model)
expect(result.agents?.explore?.model).toBe("openai/gpt-5.4-mini-fast")
expect(result.agents?.explore?.variant).toBeUndefined()
})
test("explore uses gpt-5-mini when only Copilot available", () => {