ux: No feedback in CLI TUI when Shift+Tab thinking cycle is unsupported for current model #209
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
When a user presses Shift+Tab and the current model does not support thinking, the CLI TUI silently does nothing. There is no status message, no visual change, and no indication of why the keypress had no effect.
Root Cause
Two compounding problems:
1. The Shift+Tab handler has no guard for unsupported models (
packages/cli/src/tui/app.tsx):2. The bottom bar hides the "off" state entirely (
packages/cli/src/tui/components/bottom-bar.tsx):When thinking is "off", nothing renders on the right side of the bottom bar. There is no indicator that thinking is "off" vs "unavailable" — the two states look identical.
Expected Behaviour
availableThinkingLevelsis["off"]or empty: display a short status message such asThinking not supported for current modelthinking off(matching the pi TUI) when thinking is supported but disabled, and show nothing (or a muted indicator) when the model has no reasoning capability at allAffected Files
packages/cli/src/tui/app.tsx— Shift+TabuseInputhandlerpackages/cli/src/tui/components/bottom-bar.tsx— thinking level display