From 3062277a992a8555aee3405f9e7ec6a8292c8f1e Mon Sep 17 00:00:00 2001 From: justsisyphus Date: Fri, 23 Jan 2026 16:58:33 +0900 Subject: [PATCH] feat(agents): add zai-coding-plan/glm-4.6v fallback for multimodal-looker --- src/cli/__snapshots__/model-fallback.test.ts.snap | 4 ++-- src/shared/model-requirements.ts | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/cli/__snapshots__/model-fallback.test.ts.snap b/src/cli/__snapshots__/model-fallback.test.ts.snap index 60d8e99f2..04cf6202b 100644 --- a/src/cli/__snapshots__/model-fallback.test.ts.snap +++ b/src/cli/__snapshots__/model-fallback.test.ts.snap @@ -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", diff --git a/src/shared/model-requirements.ts b/src/shared/model-requirements.ts index 2d26252f9..61f2c468d 100644 --- a/src/shared/model-requirements.ts +++ b/src/shared/model-requirements.ts @@ -42,6 +42,7 @@ export const AGENT_MODEL_REQUIREMENTS: Record = { 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" }, ], },