Skip to content

feat(gui): option to hide/collapse live thinking steps while running (#611) - #640

Open
cagdasyurekli wants to merge 1 commit into
andrewyng:mainfrom
cagdasyurekli:feat/issue-611-hide-live-thinking
Open

feat(gui): option to hide/collapse live thinking steps while running (#611)#640
cagdasyurekli wants to merge 1 commit into
andrewyng:mainfrom
cagdasyurekli:feat/issue-611-hide-live-thinking

Conversation

@cagdasyurekli

Copy link
Copy Markdown

Closes #611

Summary

This PR adds the option to hide/collapse live thinking (reasoning) steps while a task is running as requested in #611:

  1. Persistent Preference: Added hide_live_thinking setting to SessionManager and endpoint POST /v1/settings/hide-live-thinking, persisted across application restarts.
  2. Settings UI: Added LiveThinkingCard with a toggle switch under Settings ▸ General ("Hide live thinking steps while a task is running").
  3. Live Transcript Behavior:
    • When enabled, live thinking streams are reduced to a quiet, unobtrusive pulsing indicator without the scrolling body wall.
    • Added interactive inline toggle buttons ("Show thinking" / "Hide thinking") directly on the thinking block to quickly switch modes on the fly.
  4. Post-Turn Retention: The complete thought process trace remains preserved and collapsible on completed assistant turns.
  5. Testing: Added automated tests in tests/test_hide_live_thinking.py covering default state, preference updating, persistence across session managers, and REST endpoints.

…ndrewyng#611)

- Add hide_live_thinking preference in SessionManager and REST endpoint POST /v1/settings/hide-live-thinking
- Expose setHideLiveThinking and hide_live_thinking in GUI API
- Add LiveThinkingCard toggle switch in SettingsView under General tab
- Update ThinkingBlock in Transcript to support hidden mode with quiet indicator and inline show/hide buttons
- Wire hideLiveThinking preference in App.tsx to suppress streaming reasoning trace while running
- Preserve complete reasoning trace on finished turns
- Add automated unit tests for manager preference and REST endpoint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request] Option to hide/collapse live thinking (reasoning) steps while a task is running

1 participant