Skip to content

Configuration flags hide_agent_reasoning/show_raw_agent_reasoning not respected #7090

Closed as not planned

Description

@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
    
  2. Launch Codex CLI version 0.61.0 on macOS using iTerm2.
  3. Start a conversation and ask the model to perform any task.
  4. 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

Activity

  1. added
    bug
    on Nov 21, 2025
  2. added
    CLI
    on Nov 21, 2025
  3. vegito0x10 commented on Nov 21, 2025

    @vegito0x10

    not all models , most of them dont have

  4. imajes commented on Nov 21, 2025

    @imajes

    would be good to understand what is causing this.

  5. added
    agent
    and removed
    agent
    on Dec 7, 2025
  6. added
    TUI
    on Dec 23, 2025
  7. etraut-openai commented on Jan 31, 2026

    @etraut-openai
    Contributor

    Are you still seeing this problem with the latest version? Note that these are top-level config keys. If you place them under a TOML section heading, they will be ignored.

  8. johnslva commented on Feb 6, 2026

    @johnslva

    The problem still persists here. The key is already at the top level. I am using Windows 11 with Windows Terminal.

  9. edifierx666 commented on Feb 28, 2026

    @edifierx666

    +1

  10. removed
    CLI
    on Mar 2, 2026
  11. etraut-openai commented on Nov 15, 2026

    @etraut-openai
    Contributor

    For current Codex CLI versions, set this at the top level of ~/.codex/config.toml to disable reasoning summaries for new turns:

    model_reasoning_summary = "none"

    This stops Codex from requesting reasoning summaries from the model. It does not hide summaries already saved in older conversations, assistant progress messages, or tool output. hide_agent_reasoning is still used by plain-text codex exec, but the interactive TUI does not honor it.

    Closing as not planned in favor of the supported summary setting; the legacy TUI switch itself has not been fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    TUIbug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions