Description
When using the Z.AI Coding Plan (zhipuai-coding-plan provider) with reasoning capabilities like GLM-5.1, the agent returns empty responses. This happens because the thinking configuration is not being applied to the zhipuai-coding-plan provider ID in the transform logic, causing the stream to fail or not output correctly for reasoning models.
Plugins
None
OpenCode version
1.4.3 (or 0.0.0-dev)
Steps to reproduce
- Configure OpenCode to use the
zhipuai-coding-plan provider.
- Select a reasoning model like GLM-5.1.
- Send a prompt to the agent.
- Observe that the agent appears to respond but no text is output to the terminal.
Screenshot and/or share link
N/A
Operating System
Linux
Terminal
Fish (or generic terminal)
Description
When using the Z.AI Coding Plan (
zhipuai-coding-planprovider) with reasoning capabilities like GLM-5.1, the agent returns empty responses. This happens because thethinkingconfiguration is not being applied to thezhipuai-coding-planprovider ID in the transform logic, causing the stream to fail or not output correctly for reasoning models.Plugins
None
OpenCode version
1.4.3 (or 0.0.0-dev)
Steps to reproduce
zhipuai-coding-planprovider.Screenshot and/or share link
N/A
Operating System
Linux
Terminal
Fish (or generic terminal)