Zhipu AI GLM-4.5 regularly hangs mid edit and waits for a response after the message "AI_APICallError: The messages parameter is illegal. Please check the documentation."
Edit: I don't think it is mid-edit. It seems to happen after session compaction. And it seems to then start its memory again from the last session.
Only settings that are none default are z.ai's recommended setup for 'Coding Plan' on opencode. In ~/.config/opencode/opencode.json I have:
{
"$schema": "https://opencode.ai/config.json",
"provider": {
"zhipuai": {
"api": "https://api.z.ai/api/coding/paas/v4"
}
}
}
Zhipu AI GLM-4.5 regularly hangs mid edit and waits for a response after the message "AI_APICallError: The messages parameter is illegal. Please check the documentation."
Edit: I don't think it is mid-edit. It seems to happen after session compaction. And it seems to then start its memory again from the last session.
Only settings that are none default are z.ai's recommended setup for 'Coding Plan' on opencode. In ~/.config/opencode/opencode.json I have: