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?

  1. Make a ~/.codex/config.toml
  2. 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"
  1. Start codex: $ codex and check values loaded (eg. look at model_reasoning_effort) and verify that it loaded correctly.
  2. 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
  1. Start codex with --profile $ codex --profile o3
  2. 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_

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗