github / github/copilot-cli

Copilot CLI resume session switches back to default model

オープン
#4,397 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

area:models area:sessions
主要言語
Shell
スター
11.2k
フォーク
1.9k
平均マージ
14時間 16分
マージ済み PR(30日)
6

説明

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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

記載されている --model、--reasoning-effort、--resume コマンドを使用して、GitHub Copilot CLI 1.0.78 で問題を再現します。再開されたセッションが会話と選択されたモデルをどのように復元するかを追跡します。完了の条件は、セッションを再開したとき、次の人間による入力の前に gpt-5.6-terra がアクティブなままであることです。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
shell
領域
cli
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
58/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。