You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
tui: expose reasoning stream in slash command help/completion - #42312
Include stream in TUI /reasoning argument completion.
Update TUI /reasoning help/usage text from on|off to on|off|stream.
Why
ReasoningLevel already supports stream, but TUI command metadata and usage hints only advertised on|off. This makes users think stream mode is unsupported in TUI.
This PR exposes the already-supported stream value for ReasoningLevel in the TUI's /reasoning slash command by updating the auto-complete list, the command description, the /help output, and the no-args usage hint. The changes are purely metadata — no gateway or session logic is touched.
REASONING_LEVELS in commands.ts extended from ["on", "off"] to ["on", "off", "stream"], propagating automatically to tab-completion via createLevelCompletion.
Command description, helpText() output, and the inline usage hint in tui-command-handlers.ts all updated consistently to reflect on|off|stream.
The test file should be updated to assert the new stream entry appears in reasoning completions, mirroring the existing test pattern for other level-based completions.
Confidence Score: 4/5
Safe to merge — metadata-only changes with consistent updates across all user-facing locations.
All changes are correct and consistent across every location that needed updating (REASONING_LEVELS, command description, helpText(), and usage hint). The only minor gap is the absence of a test assertion for the new stream completion, which would provide regression coverage. No behavioral risk is introduced to gateway or session logic.
src/tui/commands.test.ts — adding a test assertion for reasoning completions would complete the change.
The existing test covers verbose and activation completions, but there is no assertion for the reasoning command's completions. Now that "stream" has been added to REASONING_LEVELS, adding a test case for the new entry would prevent regressions.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
streamin TUI/reasoningargument completion./reasoninghelp/usage text fromon|offtoon|off|stream.Why
ReasoningLevelalready supportsstream, but TUI command metadata and usage hints only advertisedon|off. This makes users think stream mode is unsupported in TUI.Scope
Files
src/tui/commands.tssrc/tui/tui-command-handlers.tsRefs: #42276