Using images (like for testing UX changes) often results in the CLI getting into a broken state
- 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
1. Create a UX application with Claud Code CLI
2. Request changes to the UX
2. Ask it to use screenshots to self-validate if the code changes
Eventually you'll start seeing multiple errors on each request like:
"Images and/or native document attachments were removed from the request due to size constraints. Please use smaller image or document files."
I'm guessing it's the large image files sitting in context. not sure how
### Affected version
GitHub Copilot CLI 1.0.70-0
### Steps to reproduce the behavior
1. Create a UX application with Claud Code CLI
2. Request changes to the UX
2. Ask it to use screenshots to self-validate if the code changes
Eventually you'll start seeing multiple errors on each request like:
"Images and/or native document attachments were removed from the request due to size constraints. Please use smaller image or document files."
### Expected behavior
CLI should manage image context aggrressively, using compression, compaction, etc before showing error message.
### Additional context
_No response_
Hướng dẫn đóng góp
Hướng nghiên cứu
Start by reproducing the issue in GitHub Copilot CLI 1.0.70-0 using repeated UX changes and screenshots. Then trace how image attachments are retained and how the size-constraint error is surfaced. Done means continued requests no longer leave the CLI reporting repeated image-size errors after it has managed the accumulated image context.
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ó
- 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