Skip to content

LLM responses are cropped in "plan" mode. #24918

Closed as duplicate
Closed as duplicate

Description

@GTorreil

Description

OpenCode Go subscriber here. LLM generation often stops mid-message in plan mode, a few tokens into the final message. Thinking tokens are all generated.

A typical example will be as follow :

<think>
I am processing the user request, I need to ask 3 questions
</think>

I have 3 questions : 
1. What is 

As you can see the end of the message is cut. retrying, and even restarting OpenCode does not fix the issue. The issue shows on all opencode Go and opencode Zen models.

Plugins

No plugin

OpenCode version

1.14.29

Steps to reproduce

  1. Carry a long-ish conversation in plan mode (architecturing a refactor for instance)
  2. After a few (2-3 messages) every new message starts being cut before the end

Note : I regularly prompt OpenCode in French, which may or may not have an impact here

Screenshot and/or share link

Here is a screenshot of an instance of the issue :

Image

Operating System

macOS 26.4.1 (25E253)

Terminal

Apple Terminal & vscode

Activity

  1. added
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on Apr 29, 2026
  2. GTorreil commented on Apr 29, 2026

    @GTorreil
    Author

    Forgot to add this to the original report -- it happens in both CLI and "web" mode.

  3. Alex-CodeLab commented on Apr 29, 2026

    @Alex-CodeLab

    same as #23659 ?

  4. GTorreil commented on Apr 29, 2026

    @GTorreil
    Author

    same as #23659 ?

    It is ! I'll close as duplicate and document in yours.

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 workingcoreAnything pertaining to core functionality of the application (opencode server stuff)

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions