Can't set reasoning effort minimal for gpt-5

Resolved 💬 3 comments Opened Aug 12, 2025 by pedrosarkis Closed Aug 14, 2025
💡 Likely answer: A maintainer (seratch, member) responded on this thread — see the highlighted reply below.

What version of Codex is running?

0.21.0

Which model were you using?

gpt-5

What platform is your computer?

ubuntu 23

What steps can reproduce the bug?

edit gedit \~/.codex/config.toml, set the model to gpt-5 and reasoning effort to minimal. restart the terminal, open codex and send a message

What is the expected behavior?

the expected behavior was for it to work normally, but it throws an error when opening, saying that minimal is not a valid configuration

What do you see instead?

i see an error saying that minimal is not a valid configuration for reasoning effort

Additional information

_No response_

View original on GitHub ↗

3 Comments

aehlke · 1 year ago

Use "low"

pedrosarkis · 1 year ago

hahahah i appreciate the tip, but the bug would still exist even if i use low, it doesn’t change the fact that minimal is a valid parameter and it’s broken

seratch member · 1 year ago

Thanks for sharing this, and this still exists. Let me merge this issue into https://github.com/openai/codex/issues/2296, which has more details in its description.