fix(models): align minimax and zai defaults (#2445)

Update the coding-agent default model picks for ZAI, Cerebras,
and MiniMax so new sessions prefer the current model lineup.

Add the missing MiniMax-M2.1-highspeed direct provider entries
and normalize MiniMax Anthropic-compatible context limits so the
catalog matches the provider's supported model set.
This commit is contained in:
简简简简
2026-03-20 17:00:57 +08:00
committed by GitHub
parent c2a42e3215
commit 8705fbee54
4 changed files with 89 additions and 8 deletions

View File

@@ -26,11 +26,11 @@ export const defaultModelPerProvider: Record<KnownProvider, string> = {
"vercel-ai-gateway": "anthropic/claude-opus-4-6",
xai: "grok-4-fast-non-reasoning",
groq: "openai/gpt-oss-120b",
cerebras: "zai-glm-4.6",
zai: "glm-4.6",
cerebras: "zai-glm-4.7",
zai: "glm-5",
mistral: "devstral-medium-latest",
minimax: "MiniMax-M2.1",
"minimax-cn": "MiniMax-M2.1",
minimax: "MiniMax-M2.7",
"minimax-cn": "MiniMax-M2.7",
huggingface: "moonshotai/Kimi-K2.5",
opencode: "claude-opus-4-6",
"opencode-go": "kimi-k2.5",