Merge pull request #2850 from octo-patch/feature/upgrade-minimax-m2.7

feat: upgrade remaining MiniMax M2.5 fallbacks to M2.7-highspeed
This commit is contained in:
YeonGyu-Kim
2026-03-28 01:42:25 +09:00
committed by GitHub
2 changed files with 6 additions and 6 deletions

View File

@@ -80,7 +80,7 @@ describe("AGENT_MODEL_REQUIREMENTS", () => {
const second = librarian.fallbackChain[1]
expect(second.providers[0]).toBe("opencode")
expect(second.model).toBe("minimax-m2.5")
expect(second.model).toBe("minimax-m2.7-highspeed")
const tertiary = librarian.fallbackChain[2]
expect(tertiary.providers).toContain("anthropic")
@@ -106,11 +106,11 @@ describe("AGENT_MODEL_REQUIREMENTS", () => {
const secondary = explore.fallbackChain[1]
expect(secondary.providers).toContain("opencode-go")
expect(secondary.model).toBe("minimax-m2.7")
expect(secondary.model).toBe("minimax-m2.7-highspeed")
const tertiary = explore.fallbackChain[2]
expect(tertiary.providers).toContain("opencode")
expect(tertiary.model).toBe("minimax-m2.5")
expect(tertiary.model).toBe("minimax-m2.7")
const quaternary = explore.fallbackChain[3]
expect(quaternary.providers).toContain("anthropic")

View File

@@ -77,7 +77,7 @@ export const AGENT_MODEL_REQUIREMENTS: Record<string, ModelRequirement> = {
librarian: {
fallbackChain: [
{ providers: ["opencode-go"], model: "minimax-m2.7" },
{ providers: ["opencode"], model: "minimax-m2.5" },
{ providers: ["opencode"], model: "minimax-m2.7-highspeed" },
{ providers: ["anthropic", "opencode"], model: "claude-haiku-4-5" },
{ providers: ["opencode"], model: "gpt-5-nano" },
],
@@ -85,8 +85,8 @@ export const AGENT_MODEL_REQUIREMENTS: Record<string, ModelRequirement> = {
explore: {
fallbackChain: [
{ providers: ["github-copilot", "xai"], model: "grok-code-fast-1" },
{ providers: ["opencode-go"], model: "minimax-m2.7" },
{ providers: ["opencode"], model: "minimax-m2.5" },
{ providers: ["opencode-go"], model: "minimax-m2.7-highspeed" },
{ providers: ["opencode"], model: "minimax-m2.7" },
{ providers: ["anthropic", "opencode"], model: "claude-haiku-4-5" },
{ providers: ["opencode"], model: "gpt-5-nano" },
],