Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
Every time I use GLM 5.2 model and a tool call is made, I see it being displayed in the chat window:
<tool_call>Grep<arg_key>-n</arg_key><arg_value>true</arg_value><arg_key>output_mode</arg_key><arg_value>content</arg_value><arg_key>path</arg_key><arg_value> ...
and the chat simply terminates.
Steps to Reproduce
Any prompt that requires a tool call like Read or Grep, with GLM 5.2 model selected.
Expected Behavior
Tools calls should work properly and full response/actions concluded.
Operating System
MacOS
Version Information
Version: 3.10.20 (Universal)
VS Code Extension API: 1.125.0
Commit: 23b9fb205fe595ea2be29da7214e19762d037fc0
Date: 2026-07-07T07:03:33.071Z
Layout: Agent Window
Build Type: Stable
Release Track: Default
Electron: 40.10.3
Chromium: 144.0.7559.236
Node.js: 24.15.0
V8: 14.4.258.32-electron.0
xterm.js: 6.1.0-beta.256
OS: Darwin arm64 25.5.0
For AI issues: which model did you use?
GLM 5.2 High
Additional Information
Very annoying, so far only happens with GLM 5.2 model, the other seem to be working fine
Does this stop you from using Cursor
No - Cursor works, but with this issue