flexMode setting not available in config

Resolved 💬 0 comments Opened May 4, 2025 by tabletcorry Closed May 10, 2025

What version of Codex is running?

_No response_

Which model were you using?

_No response_

What platform is your computer?

_No response_

What steps can reproduce the bug?

Attempt to set flexMode: true in config.yaml (or config.json)

What is the expected behavior?

flex-mode enabled on model

What do you see instead?

Flex mode doesn't change, it can only be changed via CLI option.

Additional information

It appears that the #372 PR wired flexMode mostly through, but didn't make it all the way to the stored config in https://github.com/openai/codex/blob/main/codex-cli/src/utils/config.ts#L132

Ideally this would be settable via the config (and then potentially disabled by CLI flag) rather than the current requirement to always set it via CLI.

View original on GitHub ↗