github / github/copilot-cli

Pending prompts stay on the screen after being fired

Đang mở
#4,564 1 bình luận 1 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

area:input-keyboard area:terminal-rendering
Ngôn ngữ chính
Shell
Star
11.2k
Fork
1.9k
Merge trung bình
14 giờ 16 phút
Pull request đã merge (30 ngày)
6

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện luồng steering đang chờ trong CLI: bắt đầu một prompt chạy dài, nhập một steering prompt và chờ mô hình phản hồi. Theo dõi nơi các prompt đang chờ đã được xử lý được render và xóa. Hoàn tất khi mỗi prompt đã được xử lý biến mất khỏi cuối màn hình, trong khi các prompt đang chờ đến sau vẫn hiển thị.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
shell
Lĩnh vực
cli
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Sôi nổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
68/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.