feat(agents): add zai-coding-plan/glm-4.6v fallback for multimodal-looker

This commit is contained in:
justsisyphus
2026-01-23 16:58:33 +09:00
parent 7093583ec5
commit 3062277a99
2 changed files with 3 additions and 2 deletions

View File

@@ -860,7 +860,7 @@ exports[`generateModelConfig fallback providers uses ZAI model for librarian whe
"model": "zai-coding-plan/glm-4.7",
},
"multimodal-looker": {
"model": "opencode/glm-4.7-free",
"model": "zai-coding-plan/glm-4.6v",
},
"oracle": {
"model": "opencode/glm-4.7-free",
@@ -918,7 +918,7 @@ exports[`generateModelConfig fallback providers uses ZAI model for librarian wit
"model": "zai-coding-plan/glm-4.7",
},
"multimodal-looker": {
"model": "opencode/glm-4.7-free",
"model": "zai-coding-plan/glm-4.6v",
},
"oracle": {
"model": "opencode/glm-4.7-free",

View File

@@ -42,6 +42,7 @@ export const AGENT_MODEL_REQUIREMENTS: Record<string, ModelRequirement> = {
fallbackChain: [
{ providers: ["google", "github-copilot", "opencode"], model: "gemini-3-flash-preview" },
{ providers: ["anthropic", "github-copilot", "opencode"], model: "claude-haiku-4-5" },
{ providers: ["zai-coding-plan"], model: "glm-4.6v" },
{ providers: ["openai", "github-copilot", "opencode"], model: "gpt-5.2" },
],
},