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
Sometimes it gets stuck in the planning mod,e trying to output a response to the user, maybe a safe maximum tries of 3 should be enforced to stop the infinite iteration, and just output the response message would fix it and output the correct response
we can also make this configurable
Plugins
none
OpenCode version
1.1.25
Steps to reproduce
be in Plan mode
plan smth
it gets stuck sometimes trying to produce a response after planning and keeps iterating, wait, iterating, wait.
I have the same issues, Ive tried across different models, from different provider. It can run for hours in plan loops for me, even after intrupting it and explicit giving the instruction in build mode to execute the plan. My perception is that the bug was introduced lately. I have reproduced the issues atleast five times over the weekend. I can provide more information or extract if needed
@acedergren same, it keeps burning tokens! The only fix for me was interrupting it, then entering a message like: conclude your plan and give it to me.
@acedergren same, it keeps burning tokens! The only fix for me was interrupting it, then entering a message like: conclude your plan and give it to me.
Activity
[-][BUG] it get stuck in Plan mode[/-][+][BUG] it gets stuck in Plan mode[/+]acedergren commentedon Jan 19, 2026
I have the same issues, Ive tried across different models, from different provider. It can run for hours in plan loops for me, even after intrupting it and explicit giving the instruction in build mode to execute the plan. My perception is that the bug was introduced lately. I have reproduced the issues atleast five times over the weekend. I can provide more information or extract if needed
devhindo commentedon Jan 19, 2026
@acedergren same, it keeps burning tokens! The only fix for me was interrupting it, then entering a message like:
conclude your plan and give it to me.Moselan commentedon Jan 19, 2026
Same me
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.
MudassarStd commentedon Apr 19, 2026
It worked for me.