### Description API Error: 400 {"error":{"code":"1210","message":"Error from provider (Z.ai): Invalid API parameter, please check the documentation."}} ### Plugins vs code 使用插件claude code ### OpenCode version _No response_ ### Steps to reproduce 1、配置cc switch如下: { "env": { "ANTHROPIC_BASE_URL": "https://opencode.ai/zen/go", "ANTHROPIC_MODEL": "glm-5.1", "ANTHROPIC_API_KEY": "sk-***" }, "model": "glm-5.1" } 报错: Failed to authenticate. API Error: 401 {"type":"error","error":{"type":"ModelError","message":"Model opencode-go/glm-5.1 not supported"}} API Error: 400 {"error":{"code":"1210","message":"Error from provider (Z.ai): Invalid API parameter, please check the documentation."}} ### Screenshot and/or share link _No response_ ### Operating System _No response_ ### Terminal _No response_
Activity
github-actions commentedon May 12, 2026
This issue might be a duplicate of existing issues. Please check:
ANTHROPIC_BASE_URLIf your issue is different, please add more details to help distinguish it.
github-actions commentedon Jul 12, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.