Skip to content

Copilot CLI resume session switches back to default model #4397

Description

@weizhoublue

Describe the bug

bug: Copilot CLI resume session switches automatically back to default model

Affected version

GitHub Copilot CLI 1.0.78.

Steps to reproduce the behavior

Steps to reproduce

  1. Start a session with a specific model:
copilot --yolo --model=gpt-5.6-terra --reasoning-effort=high
  1. Work in the session and exit Copilot CLI.

  2. Resume the session:

copilot --resume <session-id>

or:

copilot --model=gpt-5.6-terra --reasoning-effort=high --resume <session-id>

After finishing loading the session , Copilot CLI silently switches to the default model before any human input.

The conversation context is restored correctly, but the selected model is not preserved.

Expected behavior

The resumed session should continue using gpt-5.6-terra in the begining .

Expected behavior

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:modelsModel selection, availability, switching, rate limits, and model-specific behaviorarea:sessionsSession management, resume, history, session picker, and session state

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions