Feature Request
Problem
Currently, users need to restart their Codex session or modify the config.toml file to change the reasoning effort level. This is inconvenient when working on tasks that vary in complexity during a single session.
Solution
Add a /reasoning slash command that allows users to change the reasoning effort level mid-conversation.
Features
Benefits
- Flexibility: Change reasoning effort without restarting the session
- Control: Adjust the model's reasoning depth based on task complexity
- Efficiency: Use lower effort for simple tasks, higher for complex ones
- Transparency: Clear feedback about the current reasoning level
Implementation Details
The implementation modifies several files in the TUI module to add the new command, handle parameter parsing, create an interactive selection UI, and update the session configuration dynamically.
Feature Request
Problem
Currently, users need to restart their Codex session or modify the config.toml file to change the reasoning effort level. This is inconvenient when working on tasks that vary in complexity during a single session.
Solution
Add a
/reasoningslash command that allows users to change the reasoning effort level mid-conversation.Features
Parameter support:
/reasoning <level>to set a specific level directly/reasoning high- Sets reasoning to high/reasoning mediumor/reasoning med- Sets reasoning to medium/reasoning low- Sets reasoning to low/reasoning noneor/reasoning off- Disables reasoningInteractive UI:
/reasoningwithout parameters shows an interactive selection UIBenefits
Implementation Details
The implementation modifies several files in the TUI module to add the new command, handle parameter parsing, create an interactive selection UI, and update the session configuration dynamically.