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
{{ message }}
Repository navigation
Repeatedly sending requests when getting close to context window. #15778
Repeatedly sending requests when getting close to context window.
The message content is only about "step-start" and "step-finish".
Requests will be send with a frequency of around 20 times per minute.
No tool call, no work and no token consumed. Just repeatedly sending requests.
Plugins
oh-my-opencode
OpenCode version
1.1.43
Steps to reproduce
Start a session and work.
Chat until total token reach around 95k (Model: GLM-4.7, Context window: 102.4k)
Then opencode stop work and repeatedly send requests.
This issue might be a duplicate of existing issues. Please check:
Auto-compaction infinite loop when assistant ended its turn (finish !== tool-calls) #15533: Auto-compaction infinite loop when assistant ended its turn — describes the same symptom of repeated requests looping near the context window, triggered when finish is "unknown" or "stop" instead of "tool-calls". Your log shows "finish": "unknown", which matches the root cause identified there.
If your issue is already covered by #15533, please add a comment there with any additional details (e.g. GLM-4.7 / local provider specifics) rather than opening a new report.
Activity
github-actions commentedon Mar 3, 2026
This issue might be a duplicate of existing issues. Please check:
finishis"unknown"or"stop"instead of"tool-calls". Your log shows"finish": "unknown", which matches the root cause identified there.If your issue is already covered by #15533, please add a comment there with any additional details (e.g. GLM-4.7 / local provider specifics) rather than opening a new report.
github-actions commentedon Jul 3, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.