collaboration_modes ignores configured model + reasoning effort (hardcoded presets always override user config)

Open 💬 2 comments Opened Jan 23, 2026 by sonobo
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What version of Codex is running?

0.89.0

What subscription do you have?

Pro

Which model were you using?

gpt-5.2, gpt-5.2-codex

What platform is your computer?

Microsoft Windows NT 10.0.19045.0 x64

What terminal emulator and version are you using (if applicable)?

Windows Terminal (WSL and PowerShell)

What issue are you seeing?

When the collaboration_modes feature is enabled, Codex doesn’t consistently respect user-selected model settings.
In particular, collaboration mode presets appear to override user config and CLI overrides for model and model_reasoning_effort.

What steps can reproduce the bug?

Steps to reproduce:

  1. Enable collaboration modes (e.g. start Codex with --enable collaboration_modes).
  2. Set model + reasoning effort via config and/or CLI, for example: - config.toml: model = "gpt-5.2-codex"

model_reasoning_effort = "xhigh"

  • or CLI:
  • -m gpt-5.2-codex
  • -c 'model_reasoning_effort="xhigh"'
  1. Start Codex and/or switch modes (e.g. Shift+Tab).

Actual behavior:

  • The mode presets use hardcoded defaults (e.g. gpt-5.2-codex + medium) and completely ignores the configured values.

What is the expected behavior?

  • Collaboration modes should respect the user’s chosen model and model_reasoning_effort (from config and/or CLI), and switching collaboration modes should not unexpectedly revert to hardcoded defaults.

Additional information

_No response_

View original on GitHub ↗

2 Comments

github-actions[bot] contributor · 7 months ago

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

  • #9766
  • #9772

Powered by Codex Action

sonobo · 7 months ago

I opened https://github.com/openai/codex/pull/9785 which fixes this by making collaboration mode presets respect user-configured model + model_reasoning_effort.

Key points:

  • It’s backwards-compatible for existing/headless flows: if you don’t set any collaboration-mode overrides, the built-in presets behave exactly as before; CLI/global

config still work as they already do today.

  • It enables real user intent: users can choose the model/effort they actually want per mode (e.g. many prefer gpt-5.2 with xhigh for Planning, but gpt-5.2-codex /

lower effort for Pair Programming or Execute), and switching modes won’t silently revert to hardcoded defaults.