User-level configured model is not used in new sessions
オープン
まだ誰も着手していません。
triage
- 主要言語
- Shell
- スター
- 11.2k
- フォーク
- 1.9k
- 平均マージ
- 14時間 16分
- マージ済み PR(30日)
- 6
説明
Describe the bug
When setting a user-default model via "/config model" it is not used when creating a new session via "/clear" or via the sessions interface. Only when exiting and restarting the CLI client is the user-default model being used.
Affected version
No response
Steps to reproduce the behavior
- /config model (set a model e.g. Sonnet 5)
- /model (set a session model e.g. GPT-5.6 Luna)
- /clear or /new (used model for the session is still GPT-5.6 Luna NOT Sonnet 5)
Expected behavior
When creating a new session the user-default model should be used
Additional context
- GitHub Copilot CLI 1.0.79
- macOS
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
CLI で /config model、/model、続いて /clear または /new を使って問題を再現し、選択されたモデルを再起動したクライアントのモデルと比較します。/clear、/new、sessions インターフェースで使用されるセッション作成パスを追跡し、それらが以前のセッションのモデルではなく、ユーザーのデフォルトモデルを読み取ることを確認します。CLI を再起動せずに、新しいセッションが設定されたユーザーのデフォルトモデルを使用すれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- shell
- 領域
- cli
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 55/100