Skip to content

Model was caught on a reasoning loop and won't implement anything, it keeps thinking forever. #16570

Closed as not planned

Description

@Matheus2250

Description

I used plan mode to plan some UI changes on my web app and during the whole process the model was stuck on a reasoning loop, thinking the exact same things every time. When it finally asked if it could implement the planned changes, it kept thinking non-stop about the same stuff again.

I use Github Copilot with the student plan and now it used all my limits and I can't use it until the end of the month. This is not the first time however, it happened before and it's always with Open Code.

Plugins

No response

OpenCode version

1.2.21

Steps to reproduce

Just ask anything in plan mode, really.

Screenshot and/or share link

No response

Operating System

Windows 11

Terminal

No response

Activity

  1. added
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on Mar 8, 2026
  2. github-actions commented on Mar 8, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

  3. aleygey commented on Mar 9, 2026

    @aleygey

    Me too. I tried to install rag-enhance plugin in opencode. It will add RAG search result in context. Opencode stuck in reasonling loop. Model is MniMax 2.5.
    I changed model to Big Pickle and ask the same question. It not happening again.

  4. PhilSpieltLOL commented on Mar 9, 2026

    @PhilSpieltLOL

    Same issue here, both with plan and edit mode.
    image
    image

  5. removed
    bugSomething isn't working
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on May 3, 2026
  6. PierrunoYT commented on May 12, 2026

    @PierrunoYT

    I'm experiencing the same issue on Windows (PowerShell). Claude Sonnet 4.6 with medium thinking enabled is essentially unusable in OpenCode — the model gets stuck planning in the thinking trace and never executes the actual tool calls.

  7. github-actions commented on Jul 12, 2026

    @github-actions
    Contributor

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

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions