[PR #7868] feat(app): add /thinking command to toggle reasoning visibility #12543

Open
opened 2026-02-16 18:17:26 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/7868

State: open
Merged: No


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
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/7868 **State:** open **Merged:** No --- ### 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 <img width="546" height="335" alt="image" src="https://github.com/user-attachments/assets/084253d6-93cc-4d38-a8bb-522d96baf829" />
yindo added the pull-request label 2026-02-16 18:17:26 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#12543