Skip to content

model_reasoning_summary=none no longer works (400 Bad Request) #2510

@maflcko

Description

@maflcko

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:

/// Option to disable reasoning summaries.
None,

codex/codex-rs/config.md

Lines 240 to 244 in ee8c4ad

To disable reasoning summaries, set `model_reasoning_summary` to `"none"` in your config:
```toml
model_reasoning_summary = "none" # disable reasoning summaries
```

/// If not "none", the value to use for `reasoning.summary` when making a
/// request using the Responses API.
pub model_reasoning_summary: ReasoningSummary,

What do you see instead?

The error above

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions