github / github/copilot-cli

GitHub Copilot CLI session appeared to continue consuming AI credits after all visible tasks were completed.

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

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

triage
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ả

Summary

GitHub Copilot CLI session appeared to continue consuming AI credits after all visible tasks were completed.

Environment

  • GitHub Copilot CLI version: 1.0.75
  • Mode: Interactive CLI session
  • Session limit enabled: No
  • Observed behavior: Session showed approximately 97.8% AI credit usage after the visible tasks completed. No further user prompts or interactions were made. Later, the session reached 100%.

Expected behavior

After all visible tasks are complete and no user interaction occurs, AI credit usage should either remain stable or the CLI should clearly indicate that background work is still running and consuming credits.

Actual behavior

The session moved from approximately 97.8% to 100% without additional user interaction.

Question

Is this expected due to final response accounting, subagent completion, or background compaction? If so, can the CLI expose clearer status so users can distinguish between:

  1. truly idle waiting-for-input state, and
  2. background/session-finalization work that may still consume AI credits?

Supporting context

GitHub documentation says session limits include model calls, subagents, and background work like compaction, and that session limits are soft caps because usage is only known after a response returns.

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 hành vi trong GitHub Copilot CLI 1.0.75 bằng một phiên tương tác, sau đó theo dõi mức sử dụng credit sau khi tác vụ hiển thị hoàn tất mà không có thêm prompt nào. So sánh quá trình chuyển đổi được quan sát với cách xử lý đã được dokument hóa đối với các lệnh gọi mô hình, subagents và việc compact ở chế độ nền; hoàn tất có nghĩa là mức sử dụng sau tác vụ được giải thích và trạng thái nhàn rỗi hoặc chạy nền có thể được phân biệt rõ ràng.

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

Đánh giá

Công nghệ
github, shell
Lĩnh vực
ai, cli
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
48/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.