Skip to content

CLI: Make Auto the default model selection and resolve it on the first task #47785

Open

Description

@SpaceRobot-268369

What variant of Codex are you using?

Codex CLI (interactive TUI).

What feature would you like to see?

Add Auto to the /model picker and make it the default for new interactive sessions when the user has not explicitly selected or configured a model.

When the user submits the first task, Codex should choose both the model and reasoning effort before the first model request for that task. The picker should then show the concrete model and effort actually selected. /status or the transcript should expose the effective selection and a brief reason.

By default, this is a one-time selection: subsequent messages in the session keep that model and effort. The user can manually switch models or reasoning effort at any time, and explicit choices always take precedence.

An optional advanced setting, off by default, could enable reassessment before each subsequent user message. If the user manually selects a model or effort, that choice should take precedence until Auto is explicitly enabled again. This proposal does not require switching models between tool calls within an active turn.

The routing decision should consider the task and the models available to the user, rather than prompt length alone. It should have bounded overhead and should not create an extra user turn merely to decide the route. The exact routing policy and model mapping can evolve independently of this user-facing behavior.

Why?

Users currently have to predict the right model and effort before Codex sees the task. A session may begin with a mechanical edit or with difficult debugging, and a fixed recommended default cannot distinguish them. Resolving Auto on the first task gives users a useful starting choice while keeping manual control simple.

Acceptance criteria

  • A new unpinned CLI session starts with Auto selected.
  • The first task uses the chosen model and effort from its first model request.
  • The picker and /status report the effective choice.
  • Follow-up messages retain that choice when advanced reassessment is disabled.
  • Explicit CLI/configuration choices and later manual changes take precedence.
  • Advanced reassessment is opt-in and acts only at new user-message boundaries.
  • Routing does not create an extra user turn; unsupported model/effort combinations are handled visibly.

Related requests

This request focuses on Auto as the CLI default, resolution on the first task, and a stable selection unless the user opts into continued reassessment.

Activity

  1. added
    enhancement
    CLI
    TUI
    on Sep 24, 2026
  2. github-actions commented on Sep 24, 2026

    @github-actions
    Contributor

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

    Powered by Codex Action

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

    CLITUIenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions