Some configuration keys are not loading inside profiles
Resolved 💬 2 comments Opened Jul 8, 2025 by MauScheff Closed Sep 23, 2025
What version of Codex is running?
codex-cli 0.3.0
Which model were you using?
o4-mini / o3 / ...
What platform is your computer?
Darwin 24.4.0 x86_64 i386
What steps can reproduce the bug?
- Make a ~/.codex/config.toml
- Add the following
model = "o4-mini"
model_reasoning_effort = "high" # disable reasoning
model_reasoning_summary = "none" # disable reasoning summaries
[profiles.o3]
model = "o3"
model_provider = "openai"
approval_policy = "on-failure"
- Start codex:
$ codexand check values loaded (eg. look at model_reasoning_effort) and verify that it loaded correctly. - Now move the values to the profile:
model = "o4-mini"
[profiles.o3]
model = "o3"
model_provider = "openai"
approval_policy = "on-failure"
model_reasoning_effort = "high" # disable reasoning
model_reasoning_summary = "none" # disable reasoning summaries
- Start codex with --profile
$ codex --profile o3 - The values of model_reasoning_effort and model_reasoning_summary are not loaded (defaults are used).
What is the expected behavior?
The values under a profile config do load.
What do you see instead?
Default values.
Additional information
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗