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
GLM-5 model gets stuck in infinite loop, repeating same actions #18415
When using the GLM-5(Alibaba Coding Plan) model with opencode, the agent sometimes gets stuck in an infinite loop where it performs the same actions repeatedly instead of progressing through the task. This behavior doesn't occur with other models.
Activity
github-actions commentedon Mar 20, 2026
This issue might be a duplicate of existing issues. Please check:
bgruszka commentedon Apr 4, 2026
Same here - right now it's not usable anymore.
neuhaus commentedon May 1, 2026
It's an issue with the LLM, not opencode I'd say
github-actions commentedon Jul 4, 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.