github / github/copilot-cli

Custom agent selection reverts to Default agent mid-session

オープン
#4,047 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
area:agents area:sessions
主要言語
Shell
スター
11.2k
フォーク
1.9k
平均マージ
14時間 16分
マージ済み PR(30日)
6

説明

**Description**
When starting a session with a specific custom agent explicitly selected for the initial prompt, the agent selection reverts to the Default agent as the session progresses (during subsequent reasoning/turns).

**Steps to reproduce**
1. Start a new session/kickoff prompt with a specific custom agent selected.
2. Observe the initial prompt runs under the selected agent.
3. As the conversation continues and further thinking/turns happen, the session shows/reverts to the 'Default agent'.

**Expected behavior**
The explicitly selected custom agent should remain active for the duration of the session (or at least persist across turns) unless the user explicitly changes it.

**Actual behavior**
Agent selection reverts to Default agent after the initial prompt.

**Additional context**
Reported via Copilot CLI session. Unclear whether this is a UI display issue (mislabeling) or an actual functional reversion of agent config underneath.

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

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

調査の方向性

Start by reproducing the issue in a Copilot CLI session using a selected custom agent, then compare the displayed agent with the agent configuration during subsequent turns. Trace the session and agent-selection entry points to determine whether the reversion is functional or only a display problem; done means the selected custom agent remains active across turns and the behavior is covered by a regression test.

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

評価

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

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

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