refactor(librarian): switch fallback to minimax-m2.5-free → gemini-3-flash → big-pickle

This commit is contained in:
YeonGyu-Kim
2026-02-19 14:37:27 +09:00
parent 94611a9f93
commit fa8a24b0af
7 changed files with 38 additions and 38 deletions
+3 -3
View File
@@ -281,7 +281,7 @@ describe("generateOmoConfig - model fallback system", () => {
expect((result.agents as Record<string, { model: string }>).sisyphus).toBeUndefined()
})
test("uses zai-coding-plan/glm-5 for librarian when Z.ai available", () => {
test("uses opencode/minimax-m2.5-free for librarian regardless of Z.ai", () => {
// #given user has Z.ai and Claude max20
const config: InstallConfig = {
hasClaude: true,
@@ -297,8 +297,8 @@ describe("generateOmoConfig - model fallback system", () => {
// #when generating config
const result = generateOmoConfig(config)
// #then librarian should use zai-coding-plan/glm-5
expect((result.agents as Record<string, { model: string }>).librarian.model).toBe("zai-coding-plan/glm-5")
// #then librarian should use opencode/minimax-m2.5-free
expect((result.agents as Record<string, { model: string }>).librarian.model).toBe("opencode/minimax-m2.5-free")
// #then Sisyphus uses Claude (OR logic)
expect((result.agents as Record<string, { model: string }>).sisyphus.model).toBe("anthropic/claude-opus-4-6")
})