Skip to content

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

Open

Description

@sonobo

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"'
  3. 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

Activity

  1. added
    CLIIssues related to the Codex CLI
    windows-osIssues related to Codex on Windows systems
    on Jan 23, 2026
  2. github-actions commented on Jan 23, 2026

    @github-actions
    Contributor
  3. sonobo commented on Jan 23, 2026

    @sonobo
    Author

    I opened #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.
  4. added
    agentIssues related to the core agent loop
    and removed
    CLIIssues related to the Codex CLI
    on Mar 16, 2026
  5. added
    subagentIssues involving subagents or multi-agent features
    and removed
    agentIssues related to the core agent loop
    on Apr 11, 2026
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

    bugSomething isn't workingsubagentIssues involving subagents or multi-agent featureswindows-osIssues related to Codex on Windows systems

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions