Restore profiles on project config.toml

Resolved 💬 8 comments Opened May 7, 2026 by btomaj Closed May 7, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What variant of Codex are you using?

0.129.0

What feature would you like to see?

Re-enable profiles on project config.toml, partially reverting https://github.com/openai/codex/pull/20098 . This is a material change, not a minor version change.

There is no reason that I can't put this config in my project:

[profiles.codergen]
approval_policy = "never"
model_reasoning_summary = "none"
model_verbosity = "low"
allow_login_shell = false

Additional information

_No response_

View original on GitHub ↗

8 Comments

github-actions[bot] contributor · 2 months ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #20203

Powered by Codex Action

etraut-openai contributor · 2 months ago

We are planning to deprecate profiles, so we won't be investing in any new features in this area.

btomaj · 2 months ago

@etraut-openai Why are you deprecating profiles? It's a useful feature.

etraut-openai contributor · 2 months ago

It doesn't compose well with other features we're adding. Before we remove support for profiles, we'll provide an alternative mechanism that addresses the same use cases.

lingfengchencn · 1 month ago
It doesn't compose well with other features we're adding. Before we remove support for profiles, we'll provide an alternative mechanism that addresses the same use cases.

However, it has already been removed. What is the plan for a temporary replacement?

etraut-openai contributor · 1 month ago

The old profile mechanism has been removed. It's replaced by a new profile mechanism that uses separate override config files. See this documentation for details.

btomaj · 1 month ago

@etraut-openai thank you. I saw that update come through, but that only allows profiles at ~/.codex. How/when can I put the config file in the project again?

etraut-openai contributor · 1 month ago

@btomaj, the new mechanism doesn't support project-level profiles. That's something we could potentially add. Feel free to file a new feature request.