Custom agent selection reverts to Default agent mid-session
- 主要語言
- Shell
- 星號
- 11.2k
- 分支
- 1.9k
- 平均合併
- 14 小時 16 分鐘
- 30 天內合併 PR
- 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