Description
I have a Z.Ai subscription and am using the same API KEY in opencode and other agents.
About an hour ago the Z.Ai integration stopped working in opencode.
The same API Key and Z.Ai model was used successfully in other AI Agents clis or IDE integrations while the opencode agent continued to fail with this error.
Plugins
No response
OpenCode version
1.1.20
Steps to reproduce
- Setup an API KEY from Z.Ai subscription using GLM 4.7
- Attempt to use it.
- Inspect results.
Expected: AI requests work
Current: AI requests fail with the attached screenshot.
IMPORTANT: The same account/api key and model work fine in other AI Agents or IDE integrations, while the opencode one fails.
Screenshot and/or share link
Operating System
mac os 14.4.1 (23E224)
Terminal
cursor zsh
Description
I have a Z.Ai subscription and am using the same API KEY in opencode and other agents.
About an hour ago the Z.Ai integration stopped working in opencode.
The same API Key and Z.Ai model was used successfully in other AI Agents clis or IDE integrations while the opencode agent continued to fail with this error.
Plugins
No response
OpenCode version
1.1.20
Steps to reproduce
Expected: AI requests work
Current: AI requests fail with the attached screenshot.
IMPORTANT: The same account/api key and model work fine in other AI Agents or IDE integrations, while the opencode one fails.
Screenshot and/or share link
Operating System
mac os 14.4.1 (23E224)
Terminal
cursor zsh