codex - 💡(How to fix) Fix Add /effort slash command for reasoning effort selection [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openai/codex#19357Fetched 2026-04-25 06:10:54
View on GitHub
Comments
0
Participants
1
Timeline
4
Reactions
0
Author
Participants
Timeline (top)
labeled ×3unlabeled ×1

I would like Codex to provide a direct /effort slash command for switching the reasoning effort of the current model.

Today /model can change both the model and reasoning effort, but it always starts with model selection first. For users who only want to adjust effort, a dedicated /effort command would be more direct.

Root Cause

I would like Codex to provide a direct /effort slash command for switching the reasoning effort of the current model.

Today /model can change both the model and reasoning effort, but it always starts with model selection first. For users who only want to adjust effort, a dedicated /effort command would be more direct.

RAW_BUFFERClick to expand / collapse

Summary

I would like Codex to provide a direct /effort slash command for switching the reasoning effort of the current model.

Today /model can change both the model and reasoning effort, but it always starts with model selection first. For users who only want to adjust effort, a dedicated /effort command would be more direct.

Proposed behavior

  • /effort opens the existing reasoning-level picker for the current model.
  • It reuses the same four levels already shown by /model: low, medium, high, and extra high.
  • It should be unavailable while a task is running, matching /model behavior.
  • Inline arguments such as /effort high can be considered later, but are not required for the minimal version.

Prototype branch

I implemented a minimal prototype here:

The prototype adds the slash command, reuses the existing reasoning picker UI, and includes a snapshot test.

Testing done on the prototype

  • cargo fmt
  • cargo test -p codex-tui effort_slash_command_opens_current_model_reasoning_popup_snapshot
  • cargo test -p codex-tui

Note

I could not create a pull request from the fork branch to openai/codex:main with my current GitHub permissions, so I am filing this issue with the branch link instead.

extent analysis

TL;DR

To add a direct /effort slash command for switching the reasoning effort of the current model, implement the proposed behavior and test it thoroughly.

Guidance

  • Review the prototype branch (https://github.com/qiankunli/codex/tree/feature/effort-command) and compare it with the main branch to understand the changes made.
  • Verify that the /effort command opens the existing reasoning-level picker for the current model and reuses the same four levels as /model.
  • Test the command with different scenarios, including when a task is running, to ensure it behaves as expected.
  • Consider adding inline arguments such as /effort high for future enhancements.

Example

No code snippet is provided as it is not explicitly stated or strongly implied in the issue.

Notes

The proposed solution is based on the prototype branch provided, and its implementation and testing should be reviewed and verified before merging.

Recommendation

Apply the workaround by implementing the proposed behavior in the prototype branch, as it provides a direct solution to the issue.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

codex - 💡(How to fix) Fix Add /effort slash command for reasoning effort selection [1 participants]