opencode icon indicating copy to clipboard operation
opencode copied to clipboard

GLM 4.7 AI_JSONParseError

Open Wierzciu opened this issue 1 day ago • 2 comments

Description

Hello I know it's a GLM 4.7 model issue with JSON Parse but it maybe some way to fix? to not wait for Z.AI fix this?

AI_JSONParseError: JSON parsing failed: Text: {"id":data: {"id":"20260114190457bebb028fd3f84ae9","created":1768388698,"object":"chat.completion.chunk","model":"glm-4.7","choices":[{"index":0,"delta":{"role":"assistant","reasoning_content":"Now"}}]}. Error message: JSON Parse error: Unexpected identifier "data

Plugins

No response

OpenCode version

1.1.19

Steps to reproduce

No response

Screenshot and/or share link

Image

Operating System

macOS 26.2

Terminal

Warp / Ghostty

Wierzciu avatar Jan 14 '26 11:01 Wierzciu