Skip to content

Model steering incorrectly reverts to Gemini 2.5 Flash after Plan Mode when using 'auto' alias #21868

Description

@jerop

When using the auto model alias (or specialized auto aliases like auto-gemini-3), the CLI incorrectly steers to the Gemini 2.5 Flash model during the implementation phase (after exiting Plan Mode), even when Gemini 3 variants are active and preferred.

The transition from the planning phase (which correctly utilizes high-reasoning Gemini 3 models) to the implementation phase should maintain model family consistency. Instead, the current logic often causes an unexpected downgrade to the older Gemini 2.5 Flash model. This happens because the steering strategy for Plan Mode relies on hardcoded model constants and incomplete checks that do not account for the generic auto alias, Gemini 3.1 launch status, or specialized "custom tools" variants.

Steps to Reproduce:

  1. Start a session with gemini and select Auto (Gemini 3) .
  2. Enter Plan Mode and finalize a plan (observed resolving to Gemini 3.1 Pro).
  3. Approve the plan to enter the implementation phase.
  4. Observe that the model switches to Gemini 2.5 Flash instead of the expected Gemini 3 Flash.

Expected Behavior:
The CLI should maintain model family consistency (e.g., staying within Gemini 3.x) when transitioning from planning to implementation, ensuring that speed optimizations don't come at the cost of using an outdated model generation.

Activity

  1. self-assigned this
    on Mar 10, 2026
  2. added
    status/need-triageIssues that need to be triaged by the triage automation.
    area/coreIssues related to User Interface, OS Support, Core Functionality
    area/agentIssues related to Core Agent, Tools, Memory, Sub-Agents, Hooks, Agent Quality
    🔒 maintainer only⛔ Do not contribute. Internal roadmap item.
    on Mar 10, 2026
  3. added theissue type on Mar 10, 2026
  4. added
    workstream-rollupLabel used to tag epics and features that are associated with one of the three primary workstreams
    on Mar 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area/agentIssues related to Core Agent, Tools, Memory, Sub-Agents, Hooks, Agent Qualityarea/coreIssues related to User Interface, OS Support, Core Functionalitystatus/need-triageIssues that need to be triaged by the triage automation.workstream-rollupLabel used to tag epics and features that are associated with one of the three primary workstreams🔒 maintainer only⛔ Do not contribute. Internal roadmap item.

Type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions