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
{{ message }}
Repository navigation
UI stuck on 'Thinking...' when tool output is pending #17655
When a tool call completes and returns output (e.g., a question tool with options), the UI sometimes gets stuck showing "Thinking…" indefinitely. The response content is not rendered until the user stops and restarts OpenCode, at which point it appears.
Steps to Reproduce
Be in a conversation where the assistant makes a tool call (observed with the question tool specifically)
The tool completes and returns output
The UI remains stuck on "Thinking…" — no content is displayed
Sending a follow-up message ("are you stuck?") does not unstick it
Stopping and restarting OpenCode causes the pending output to render
Expected Behavior
Tool output should render in the UI as soon as it's available, not require a restart.
Environment
Platform: macOS (darwin)
Observed multiple times across different sessions
Additional Context
The user reports this has happened "a few times," so it's intermittent but reproducible. It may be related to specific tool types (the question tool was involved in this instance) or a general rendering/streaming issue.
This issue might be a duplicate of existing issues. Please check:
GUI get stuck on "Thinking" #17624: GUI also reported getting stuck on "Thinking" — similar symptom, though the root cause may differ (that report involves provider/network timeout, while this one involves tool output rendering)
Activity
github-actions commentedon Mar 15, 2026
This issue might be a duplicate of existing issues. Please check:
github-actions commentedon May 15, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.