`model_reasoning_summary=none` no longer works (400 Bad Request)

Resolved 💬 4 comments Opened Aug 20, 2025 by maflcko Closed Aug 26, 2025

What version of Codex is running?

codex-cli 0.23.0

Which model were you using?

Any thinking model

What platform is your computer?

Linux 5.14.x86_64

What steps can reproduce the bug?

$ codex -c model=o4-mini  -c model_reasoning_summary=none --dangerously-bypass-approvals-and-sandbox exec 'Reply with just "hi"'
[2025-08-20T10:12:13] OpenAI Codex v0.23.0 (research preview)
--------
workdir: /home/user_1/git_dir
model: o4-mini
provider: openai
approval: never
sandbox: read-only
reasoning effort: medium
reasoning summaries: none
--------
[2025-08-20T10:12:13] User instructions:
Reply with just "hi"
[2025-08-20T10:12:14] stream error: unexpected status 400 Bad Request: {
  "error": {
    "message": "Invalid value: 'none'. Supported values are: 'concise', 'detailed', and 'auto'.",
    "type": "invalid_request_error",
    "param": "reasoning.summary",
    "code": "invalid_value"
  }
}; retrying 1/5 in 214ms…

What is the expected behavior?

Support None value, like it used to in the past and how it is documented:

https://github.com/openai/codex/blob/ee8c4ad23a4a30a2753fd3db659e56db0913f69c/codex-rs/protocol/src/config_types.rs#L32-L33

https://github.com/openai/codex/blob/ee8c4ad23a4a30a2753fd3db659e56db0913f69c/codex-rs/config.md?plain=1#L240-L244

https://github.com/openai/codex/blob/ee8c4ad23a4a30a2753fd3db659e56db0913f69c/codex-rs/core/src/config.rs#L149-L151

What do you see instead?

The error above

Additional information

_No response_

View original on GitHub ↗

4 Comments

AdalaceV2 · 1 year ago

Yeah, really unfortunate, I hate having my console spammed with the reasoning traces.

zipkr13 · 1 year ago

I've created a sample PR simply removing it from the documentation.

Would love to understand if this option is supposed to be supported or not. If a bug, PR #2517 should be closed in favor of a fix

zipkr13 · 1 year ago

Hi @aibrahim-oai / @pakrym-oai (just tagging top 2 oai related contributors)

I'd really like to get an answer here if possible, is model_reasoning_summary = "none" no longer supported and should be removed from the documentation?

Or is this a bug? FWIW I also appreciated hidden reasoning as my use case necessitated parsing through codex's raw text stdout and stderr. Hiding reasoning summaries made it easier.

Thanks in advance 🙏

maflcko · 1 year ago

for reference, historically it was needed to set this config for the thinking models to be supported at all for non-verified organizations. However, this seems to be no longer needed and even non-verified accounts can use codex out of the box.

So I'll go ahead and close this for now.

I understand there are still use-cases for this, for example when parsing the raw text or simply to hide them for stylistic reasons. Though, those don't apply to me, so my recommendation would be that someone opens a new issue, if this is still relevant to them.