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
[FEATURE]: Config option to show thinking blocks by default #28322
Currently, thinking/reasoning blocks in the TUI are collapsed by default. Users must click each block or toggle visibility every session to see the model's chain-of-thought. There is no config option to control this default.
The only related setting is the display_thinking keybind, which defaults to "none" (no key assigned). Even when assigned, the toggle state may not persist across sessions.
Proposed solution
Add a config option (in opencode.json or tui.json) to control the default visibility of thinking blocks:
{
"display": {
"thinking": "show"
}
}
Where "thinking" accepts "show" or "collapse" (default).
Or alternatively, a top-level TUI option:
{
"show_thinking_default": true
}
Use case
Users who want to always see the model's reasoning without having to click or use a keybind every session. Particularly useful for debugging prompts or understanding why a model made certain decisions.
Additional context
The TUI already has a display_thinking keybind to toggle visibility
The thinkingOpacity theme property exists for styling
This would be the natural third piece: a config option to control default state
The state could also be persisted in TuiKV so it remembers the user's last choice
Okay, I swear nothing about thinking showed up before (or I wouldn't have
asked), but now it does. Absolutely perplexed.
- Micke
Den tis 19 maj 2026 kl 15:17 skrev Sebastian ***@***.***>:
Activity
github-actions commentedon May 19, 2026
For keybind-related issues, please also check our pinned keybinds documentation: #4997
kommander commentedon May 19, 2026
You can activate it permanently in the command palette with ctrl+p > "show thinking".
mikaelj commentedon May 19, 2026
@kommander there's no show thinking in the command palette in 1.14.40.
kommander commentedon May 19, 2026
It is called "Expand thinking" and it is reachable from the session view, when in a session.
mikaelj commentedon May 19, 2026
github-actions commentedon Jul 19, 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.
ilyasTawwe commentedon Aug 23, 2026
This should be the default tbh
feat(session-ui,app): collapsible reasoning cards for desktop/web