Skip to content

Conversation

@hotic
Copy link

@hotic hotic commented Jan 11, 2026

What does this PR do?

Adds /thinking slash command to WebUI, matching TUI behavior for toggling thinking/reasoning block visibility.

  • Default: visible (same as TUI)
  • Command toggles show/hide state

Fixes #7866

How did you verify your code works?

Tested locally with bun run --cwd packages/app dev:

  • /thinking appears in slash command autocomplete
  • Executing toggles visibility of reasoning blocks
  • Behavior matches TUI /thinking command
image

Add /thinking slash command to WebUI that allows users to show/hide
thinking/reasoning blocks, matching the existing TUI behavior.

- Default: thinking blocks are shown (same as TUI default)
- Use /thinking command to toggle visibility
- When hidden, reasoning blocks collapse after response completion
- When shown, reasoning blocks remain visible

This aligns WebUI behavior with TUI which already has this feature.
@hotic hotic requested a review from adamdotdevin as a code owner January 11, 2026 22:13
@github-actions
Copy link
Contributor

The following comment was made by an LLM, it may be inaccurate:

No duplicate PRs found

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.

WebUI: thinking/reasoning blocks hidden after response completion, no way to show them

1 participant