[PR #12171] feat: Allow the function to hide or show thinking blocks to be bound to a key (resolves #12168) #14099

Closed
opened 2026-02-16 18:18:54 -05:00 by yindo · 0 comments
Owner

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

State: closed
Merged: Yes


What does this PR do?

Improves consistency and allows for a better UX by allowing users to bind the menu item to hide or show thinking blocks to a key if they so choose.

By default, no key is bound, this PR merely allows a user to bind it themselves in their config if they choose to do so.

The implementation of this new feature is consistent with the existing implementations of similar behaviour for command_list items such as tool_details.

Issue number in the title refers to a (now closed) duplicate issue. Cannot see the option to change the title of the PR, unfortunately.

Resolves #8167.

How did you verify your code works?

Manual A/B testing, bun test, bun typecheck.

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/12171 **State:** closed **Merged:** Yes --- ### What does this PR do? Improves consistency and allows for a better UX by allowing users to bind the menu item to hide or show thinking blocks to a key if they so choose. By default, no key is bound, this PR merely allows a user to bind it themselves in their config if they choose to do so. The implementation of this new feature is consistent with the existing implementations of similar behaviour for `command_list` items such as `tool_details`. Issue number in the title refers to a (now closed) duplicate issue. Cannot see the option to change the title of the PR, unfortunately. Resolves #8167. ### How did you verify your code works? Manual A/B testing, `bun test`, `bun typecheck`.
yindo added the pull-request label 2026-02-16 18:18:54 -05:00
yindo closed this issue 2026-02-16 18:18:54 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#14099