Skip to content

UI Rendering: Thinking Process visible but final response text hidden #21997

Closed as not planned

Description

Description

The OpenCode interface displays the model's internal "Thinking Process" but fails to render the actual final response text. This creates a loop where the AI appears to "think" about providing an answer but the answer is never displayed.

Environment

  • Platform: OpenCode (Linux)
  • Date: April 2026
  • Interface: Terminal interface

Steps to Reproduce

  1. Send a query to the AI model
  2. Wait for response
  3. Observe - only thinking process is visible, no final response appears

Expected Behavior

  • Both the thinking process AND the final response should be visible
  • OR: Only the final response should be shown (thinking process is internal)

Actual Behavior

  • Only the thinking process block is displayed
  • Example: "Let me provide a fresh, clear answer now." appears in thinking, but actual answer text never renders

Workarounds Tested

  • Refreshing the session may temporarily fix it
  • Very short responses (1-2 words) sometimes appear
  • Responses without newlines may appear more reliably

Additional Notes

  • The AI model believes it has sent the answer (its thinking confirms this)
  • The issue appears to be in how the text block following the thinking block is parsed/rendered
  • This is reproducible and happens consistently for certain types of responses

Severity

High - Makes the tool unusable for most tasks

Activity

  1. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Apr 11, 2026
  2. github-actions commented on Apr 11, 2026

    @github-actions
    Contributor

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

    Additionally, your bug report is missing the OpenCode version (e.g., 1.x.x), which is important for reproducing and fixing the issue. Please edit the issue to include:

    • OpenCode version (opencode --version)
    • Terminal being used

    This information helps maintainers narrow down when the regression may have been introduced.

  3. removed
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on May 3, 2026
  4. biolauri commented on May 7, 2026

    @biolauri

    Can confirm this, having the same behaviour in OpenCode Desktop.

  5. mlalpho commented on Jun 5, 2026

    @mlalpho

    also confirmed, seeing this issue on opencode desktop and cli. updating to latest 1.16.0 did not resolve.

    I was able to get the text response from the opencode.db -- so it is being saved, just not being sent back as a text response to the user.

    i did a sweep across 1.14.* and 1.15.* and the last version i was able to get working properly was 1.14.49, hope that helps!

  6. mlalpho commented on Jun 17, 2026

    @mlalpho

    fwiw, the behavior i was seeing is no longer present when running latest opencode 1.17.7

    cheers 🍻

  7. github-actions commented on Aug 17, 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