Configuration flags hide_agent_reasoning/show_raw_agent_reasoning not respected

Open 💬 5 comments Opened Nov 21, 2025 by BobbyWang0120

What version of Codex is running?

0.61.0

What subscription do you have?

Pro

Which model were you using?

gpt-5.1-codex-max

What platform is your computer?

_No response_

What issue are you seeing?

I have configured my config.toml with the following settings:

hide_agent_reasoning = true
show_raw_agent_reasoning = false

According to the documentation, these flags should prevent the Codex CLI from displaying the model's "thinking" or internal reasoning. However, when I run the CLI and interact with the GPT model (version 0.61.0 on macOS using iTerm2), the responses still include the agent's reasoning content. It seems that these configuration options are not being respected.

What steps can reproduce the bug?

  1. Update ~/.codex/config.toml (or project-specific config) to include:

``
hide_agent_reasoning = true
show_raw_agent_reasoning = false
``

  1. Launch Codex CLI version 0.61.0 on macOS using iTerm2.
  2. Start a conversation and ask the model to perform any task.
  3. Observe the output: the response still shows the model's reasoning content despite the configuration flags.

What is the expected behavior?

The Codex CLI should respect the configuration flags and completely hide the model's reasoning or thinking content when hide_agent_reasoning is set to true and show_raw_agent_reasoning is set to false.
Only the final answer or output should be displayed in the responses.

Additional information

_No response_

View original on GitHub ↗

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