Skip to content

[BUG] it gets stuck in Plan mode #9389

Closed

Description

@devhindo

Description

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

  1. be in Plan mode
  2. plan smth
  3. it gets stuck sometimes trying to produce a response after planning and keeps iterating, wait, iterating, wait.

Screenshot and/or share link

No response

Operating System

Ubuntu latest

Terminal

default ubuntu terminal

Activity

  1. changed the title [-][BUG] it get stuck in Plan mode[/-] [+][BUG] it gets stuck in Plan mode[/+] on Jan 19, 2026
  2. added
    perfIndicates a performance issue or need for optimization
    on Jan 19, 2026
  3. acedergren commented on Jan 19, 2026

    @acedergren

    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

  4. devhindo commented on Jan 19, 2026

    @devhindo
    Author

    @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.

  5. Moselan commented on Jan 19, 2026

    @Moselan

    Same me

  6. github-actions commented on Mar 26, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.

  7. MudassarStd commented on Apr 19, 2026

    @MudassarStd

    @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.

    It worked for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingperfIndicates a performance issue or need for optimization

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions