opencode icon indicating copy to clipboard operation
opencode copied to clipboard

Error "reasoning part reasoning-0 not found" from tool calls using GLM 4.5 Air

Open jhov94 opened this issue 3 weeks ago • 8 comments

Description

I just updated OpenCode from v1.0.163 to v1.0.218 and now tool calls using GLM 4.5 Air result in an error "reasoning part reasoning-0 not found". Prior to updating OpenCode the model had no issues calling tools. It appears that the tool calls finish and the model is able to see the results of the tool call, but is not able to respond. If prompted to continue, it was able to respond as if no error occurred for a while until eventually every prompt to continue resulted in the error.

OpenCode version

1.0.218

Steps to reproduce

  1. Load GLM 4.5 Air (I'm using LMStudio locally)
  2. Have the model attempt a tool call

Screenshot and/or share link

Image

Operating System

Windows 10

Terminal

Powershell 7

jhov94 avatar Dec 30 '25 23:12 jhov94