github / github/copilot-cli

Pending prompts stay on the screen after being fired

オープン
#4,564 コメント 1 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

area:input-keyboard area:terminal-rendering
主要言語
Shell
スター
11.2k
フォーク
1.9k
平均マージ
14時間 16分
マージ済み PR(30日)
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.

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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、CLI で保留中の steering フローを再現します。長時間実行される prompt を開始し、steering prompt を入力して、モデルが応答するまで待ちます。処理済みの保留中 prompt がどこで表示され、クリアされるかを追跡します。処理済みの各 prompt が画面下部から消え、その後の保留中 prompt は表示されたままになれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
shell
領域
cli
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
活発
明瞭さ
おおむね明確
初心者へのやさしさ
68/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。