github / github/copilot-cli

Custom agent selection reverts to Default agent mid-session

Đang mở
#4,047 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
area:agents area:sessions
Ngôn ngữ chính
Shell
Star
11.2k
Fork
1.9k
Merge trung bình
14 giờ 16 phút
Pull request đã merge (30 ngày)
6

Mô tả

**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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
shell
Lĩnh vực
cli
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
50/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.