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
+4 -4
View File
@@ -44,19 +44,19 @@ describe("AGENT_MODEL_REQUIREMENTS", () => {
expect(last.model).toBe("big-pickle")
})
test("librarian has valid fallbackChain with glm-5 as primary", () => {
test("librarian has valid fallbackChain with minimax-m2.5-free as primary", () => {
// given - librarian agent requirement
const librarian = AGENT_MODEL_REQUIREMENTS["librarian"]
// when - accessing librarian requirement
// then - fallbackChain exists with glm-5 as first entry
// then - fallbackChain exists with minimax-m2.5-free as first entry
expect(librarian).toBeDefined()
expect(librarian.fallbackChain).toBeArray()
expect(librarian.fallbackChain.length).toBeGreaterThan(0)
const primary = librarian.fallbackChain[0]
expect(primary.providers[0]).toBe("zai-coding-plan")
expect(primary.model).toBe("glm-5")
expect(primary.providers[0]).toBe("opencode")
expect(primary.model).toBe("minimax-m2.5-free")
})
test("explore has valid fallbackChain with grok-code-fast-1 as primary", () => {
+2 -2
View File
@@ -38,9 +38,9 @@ export const AGENT_MODEL_REQUIREMENTS: Record<string, ModelRequirement> = {
},
librarian: {
fallbackChain: [
{ providers: ["zai-coding-plan"], model: "glm-5" },
{ providers: ["opencode"], model: "minimax-m2.5-free" },
{ providers: ["google", "github-copilot", "opencode"], model: "gemini-3-flash" },
{ providers: ["opencode"], model: "big-pickle" },
{ providers: ["anthropic", "github-copilot", "opencode"], model: "claude-sonnet-4-6" },
],
},
explore: {