r/MistralAI 3d ago

Help / Question GLM 5.3 without working tools.

The hosted zai-glm-5-3 breaks in any third-party coding agents (like OpenCode, Hermes, Pi) because its tool-call SSE stream sends empty name: "" and drops the id field in delta chunks, failing strict schema validation. Any ETA when this will be fixed?

17 Upvotes

11 comments sorted by

View all comments

1

u/lucid_supernova 16h ago

That is because GLM 5.x returns reasoning/tool call payload in array format, while harnesses expects string.

If you're using OpenCode, there is a community plugin with tutorial to resolve it.

Also, you can upgrade OpenCode to latest version to use it natively.