You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I encountered this message ( or only : OK. too after using continue on an alternative routing provider with GLM 4.6 whom we already had 'stuck in sessions' with GLM 4.5.
looking at the logs, this 'stuck' behaviour or 'weird' message just happens after automated tool pruning.
It happened also under GLM 4.5 for this specific provider, also after a pruning.
These tool pruning did happen without auto compaction --> Session summary, which let me think that the model exhausted its context ( tool use in majority ) without possibility of recovery.
In regard to the anomalies with this specific proxying provider, my hypothesis is that somehow the served model announced 128K available context but had a smaller internal context windows, which exhausted far before the ide might trigger compaction --> Summary.
I was able to reproduce this kind of anomaly by using the Z.ai anthropic endpoint with GLM 4.6 ( setup as a custom provider) and let the context expire by itself with a moderate code or refactor task with edits and slight use of context7.
The log show exactly the tool auto prune before the anomaly appears.
INFO 2025-10-01T18:08:53 +22ms service=session.compaction pruned=10282 total=46436 found
# Conversation History
---
**User** (*2025-10-05 05:13:37*)
@sage hi
Use the above message and context to generate a prompt and call the task tool with subagent: sage
---
**Assistant** (*2025-10-05 05:13:38*)
No response requested.
---
**User** (*2025-10-05 05:14:11*)
hi
---
**Assistant** (*2025-10-05 05:14:11*)
No response requested.
@thdxr you were asking for GLM 4.6 feedback, has this quirk been addressed? I've been using Opencode and GLM 4.6 for 6 days and this is the main blocker, along with timeouts, random 40x/50x API errors, and no retries. This is via ZAI Coding Plan. Works better with Claude Code because it more aggressively retries, whereas Opencode craps out fast and idles until you say 'Continue'.
Activity
github-actions commentedon Oct 1, 2025
This issue might be a duplicate of existing issues. Please check:
Generating#2137: Message generation interrupted, stuck at "Generating" - very similar symptomsFeel free to ignore if none of these address your specific case.
rekram1-node commentedon Oct 1, 2025
Hmm I need to signup for the plan to test this better, can you share the session by chance?
It almost seems like the model just "said" that?
JoshuaRileyDev commentedon Oct 1, 2025
I've switched to my CC plan atm but can switch back and see if I can replicate again then share the session
slipstr28 commentedon Oct 1, 2025
I encountered this message ( or only :
OK.too after using continue on an alternative routing provider with GLM 4.6 whom we already had 'stuck in sessions' with GLM 4.5.looking at the logs, this 'stuck' behaviour or 'weird' message just happens after automated tool pruning.
It happened also under GLM 4.5 for this specific provider, also after a pruning.
These tool pruning did happen without auto compaction --> Session summary, which let me think that the model exhausted its context ( tool use in majority ) without possibility of recovery.
In regard to the anomalies with this specific proxying provider, my hypothesis is that somehow the served model announced 128K available context but had a smaller internal context windows, which exhausted far before the ide might trigger compaction --> Summary.
I was able to reproduce this kind of anomaly by using the Z.ai anthropic endpoint with GLM 4.6 ( setup as a custom provider) and let the context expire by itself with a moderate code or refactor task with edits and slight use of context7.
The log show exactly the tool auto prune before the anomaly appears.
INFO 2025-10-01T18:08:53 +22ms service=session.compaction pruned=10282 total=46436 found
Hope it helps.
rekram1-node commentedon Oct 1, 2025
that does help ty
n0cloud commentedon Oct 2, 2025
It happened to me after interrupting the agent with esc. Any request after that just returned the "No Response Requested" error.
towry commentedon Oct 4, 2025
I am using the zhipu coding plan.
williamhrs commentedon Oct 6, 2025
it happens a lot here.
ShamanicArts commentedon Oct 9, 2025
happens all the time. sometimes it fixes itself by just reminding the model you are requesting a response, & sometimes that session is done lol
kierr commentedon Oct 10, 2025
@thdxr you were asking for GLM 4.6 feedback, has this quirk been addressed? I've been using Opencode and GLM 4.6 for 6 days and this is the main blocker, along with timeouts, random 40x/50x API errors, and no retries. This is via ZAI Coding Plan. Works better with Claude Code because it more aggressively retries, whereas Opencode craps out fast and idles until you say 'Continue'.
williamhrs commentedon Oct 17, 2025
still happening, sometimes after we have to stop it to change course with ESC, sometimes out of nowhere after a task
bennyzen commentedon Oct 21, 2025
it's related to interrupting using the ESC key. confirmed.
and yes, unfortunately it's happening all the time.
kierr commentedon Oct 21, 2025
If anyone is still facing this issue, please report your
opencode --versiontoo.I haven't seen this happen for a while, despite using GLM 4.6 via Coding Plan and pressing ESC often.
Make sure you're using the latest version (
bunx opoencode-ai@latest).bennyzen commentedon Oct 21, 2025
v0.15.12
latest. the issue still persists
david-crespo commentedon Nov 5, 2025
Happened in 1.0.25 after I aborted a previous command.
zRzRzRzRzRzRzR commentedon Nov 7, 2025
This question is about whether to use the API (z.ai) version or the open-source model deployed in SGLang or vLLM.
pnocera commentedon Nov 14, 2025
This also happens with cerebras provider with GLM 4.6. So I suppose it's not directly related to z.ai endpoint but to the model itself ?
rekram1-node commentedon Nov 14, 2025
yeah it seems like it, when I get a chance ill try to look into it more
JosXa commentedon Nov 20, 2025
Seems to be specifically in the thinking blocks. On Cerebras, the schema doesn't seem to be followed correctly, and the AI SDK struggles with it.
burka commentedon Nov 21, 2025
Same here with Cerebras Z.ai GLM-4.6, every now and then it just halts, sometimes very often - a compact does help sometimes, but not always
burka commentedon Nov 21, 2025
I’ve created a pull request for this. It works on my machine so far :-) #4584
JosXa commentedon Nov 21, 2025
Need to also cover these more generally:
I'm guessing reasoning ✅️ but no text ❌️ or something.
towry commentedon Nov 21, 2025
Please do not merge this, it is footgun
JosXa commentedon Nov 21, 2025
While we struggle to fix this, disable reasoning as a workaround:
#3259 (comment)
I find GLM's reasoning pretty useless anyway
TomLucidor commentedon Jan 19, 2026
Having the same issues with using local models in https://github.com/cubist38/mlx-openai-server
@JosXa I am surprised it has something to do with parsing the reasoning bits!
@ShamanicArts how are reminders done again? Maybe it's just a "dumb zone" thing?
github-actions commentedon Mar 26, 2026
To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.