github / github/copilot-cli

Custom agent selection reverts to Default agent mid-session

Ouverte
#4,047 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
area:agents area:sessions
Langage dominant
Shell
Étoiles
11.2k
Forks
1.9k
Merge moyen
14 h 16 min
PR mergées (30 j)
6

Description

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

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
shell
Domaine
cli
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
Calme
Clarté
Plutôt claire
Accessibilité débutants
50/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.