github / github/copilot-cli

Large Image Attachment Warning Excess Bug

Đang mở
#4,164 0 bình luận 1 reaction 0 người được giao Xem trên GitHub
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

I tried to include a large image (didn't realize how big it was) and got this message printed out 6x
> ! Images and/or native document attachments were removed from the request due to size constraints. Please use smaller image or document files.

Ok, thanks, just say it once--but fine. Then I made a copy of the image (854x464 px) and tried again and it printed out again 7x the same message after that! Any chat now gets that error yelled out at me!

### Affected version

1.0.72-0

### Steps to reproduce the behavior

1. Include a large image attachment (e.g. 8k image) in your chat
2. You should get a warning
3. Try sending other messages
4. See that you get yelled at more and more each time you take a turn

### Expected behavior

1. I try to include an attachment and it tells me as I paste that the image is too large (and it is going to downscale for me)
2. Alt: if it doesn't downscale it just says it couldn't include the attachment (just the one time I tried to send it, not every message thereafter).

### Additional context

Screenshot of how bad it looks:

Image

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

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

Hướng nghiên cứu

Tái hiện sự cố bằng một hình ảnh quá lớn, sau đó tìm kiếm trong codebase văn bản cảnh báo chính xác được hiển thị trong báo cáo. Theo dõi cách các cảnh báo về tệp đính kèm được lưu trữ hoặc hiển thị qua các lượt tiếp theo; hoàn tất khi cảnh báo chỉ xuất hiện đối với lần thử đính kèm gây ra sự cố, không xuất hiện trong các tin nhắn sau đó.

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
Ít trao đổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
52/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.