Pending prompts stay on the screen after being fired
还没有人认领这个 Issue。
- 主要语言
- Shell
- 星标
- 11.2k
- 派生
- 1.9k
- 平均合并
- 14 小时 16 分钟
- 30 天内合并 PR
- 6
描述
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
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先在 CLI 中复现待处理的 steering 流程:开始一个长时间运行的 prompt,输入一个 steering prompt,并等待模型响应。跟踪已处理的待处理 prompt 在哪里被渲染和清除。完成的标准是每个已处理的 prompt 都从屏幕底部消失,同时后续的待处理 prompt 仍保持可见。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- shell
- 领域
- cli
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 活跃
- 描述清晰度
- 基本清楚
- 新手友好度
- 68/100