github / github/copilot-cli

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

Aperta
#4,489 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

area:agents area:sessions
Lingua principale
Shell
Stelle
11.2k
Fork
1.9k
Merge medio
14h 16m
PR unite (30g)
6

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Inizia riproducendo il problema nella Copilot CLI con /agent, /clear e /resume, come descritto. Traccia il modo in cui le sessioni riprese ripristinano il loro stato e come l'agent selezionato viene mostrato nella barra inferiore. Il lavoro è completato quando la ripresa della sessione seleziona e mostra automaticamente l'agent che era attivo quando la sessione è stata salvata.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
shell
Ambito
cli
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Tranquilla
Chiarezza
Abbastanza chiara
Idoneità per principianti
58/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.