github / github/copilot-cli

Pending prompts stay on the screen after being fired

Aperta
#4,564 1 commento 1 reazione 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

area:input-keyboard area:terminal-rendering
Lingua principale
Shell
Stelle
11.2k
Fork
1.9k
Merge medio
14h 16m
PR unite (30g)
6

Descrizione

Describe the bug

If I enter a prompt while the agent is running, it pops up as queued, with (pending · ctrl+c to cancel) next to it.

Then when the prompt clears and the steering command is injected, the pending should go away, the prompt becomes colored differently (e.g. purple for autopilot or blue in plan mode, etc). Then the agent responds to the new prompt.

However, in recent updates, this does still happen but the pending prompt remains on the screen. Even after the model has responded to the prompt. If I then put in another pending prompt, it stays on the screen too along with the other one. The only way to clear this seems to be to wait for the whole turn to finish without steering.

Image Image
Affected version

GitHub Copilot CLI 1.0.81-7

Steps to reproduce the behavior
  1. Start any long-running prompt with multiple steps
  2. While the model is thinking/working, enter a new pending "steering" prompt
  3. Wait for the steering prompt to be accepted and the model to respond to the steering
    That is enough to reproduce; continuing to steer in this way, before the turn ends, will result in a large queue of pending messages at the bottom of the screen even if they've all been processed.
Expected behavior

The pending steering prompts should disappear from the bottom of the screen after being processed by the model

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 flusso di steering in sospeso nella CLI: avvia un prompt di lunga durata, inserisci un prompt di steering e attendi che il modello risponda. Traccia dove vengono visualizzati e cancellati i prompt in sospeso elaborati. Il lavoro è completato quando ogni prompt elaborato scompare dalla parte inferiore dello schermo, mentre i prompt in sospeso successivi rimangono visibili.

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à
Attiva
Chiarezza
Abbastanza chiara
Idoneità per principianti
68/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.