Pending prompts stay on the screen after being fired
Personne n'a encore pris cette issue.
- Langage dominant
- Shell
- Étoiles
- 11.2k
- Forks
- 1.9k
- Merge moyen
- 14 h 16 min
- PR mergées (30 j)
- 6
Description
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.
Affected version
GitHub Copilot CLI 1.0.81-7
Steps to reproduce the behavior
- Start any long-running prompt with multiple steps
- While the model is thinking/working, enter a new pending "steering" prompt
- 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
Guide de contribution
Ouvrir le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Piste de recherche
Commencez par reproduire le flux de steering en attente dans la CLI : démarrez un prompt de longue durée, saisissez un prompt de steering et attendez que le modèle réponde. Suivez l’endroit où les prompts en attente traités sont rendus et effacés. C’est terminé lorsque chaque prompt traité disparaît du bas de l’écran, tandis que les prompts en attente ultérieurs restent visibles.
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é
- Active
- Clarté
- Plutôt claire
- Accessibilité débutants
- 68/100