github / github/copilot-cli

When resuming an old session the agent used in that old session is not selected

Offen
#4,489 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

area:agents area:sessions
Vorherrschende Sprache
Shell
Sterne
11.2k
Forks
1.9k
Ø Merge
14 Std. 16 Min.
Gemergte PRs (30 T.)
6

Beschreibung

Describe the bug

I was in a session where I started with a specific agent (i.e. /agent x). I then resumed that session the next day and I had to select the agent again manually.

This is kind of hard to see if you don't pay close enough attention to it.

I'm also a bit unsure how big the impact is since the agent would already be in the history.

Affected version

1.0.80

Steps to reproduce the behavior
  1. create a session
  2. select agent /agent x (agent name should show up in the bottom bar)
  3. use the session
  4. /clear
  5. /resume the old session
  6. agent name is not shown in the bottom bar
Expected behavior

Agent that was using in the the resumed session should again be selected automatically.

Additional context

No response

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginne damit, das Problem in der Copilot CLI mit /agent, /clear und /resume wie beschrieben zu reproduzieren. Verfolge, wie fortgesetzte Sitzungen ihren Zustand wiederherstellen und wie der ausgewählte Agent in der unteren Leiste angezeigt wird. Die Aufgabe ist abgeschlossen, wenn das Fortsetzen der Sitzung automatisch den Agenten auswählt und anzeigt, der beim Speichern der Sitzung aktiv war.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
shell
Bereich
cli
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Ruhig
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
58/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.