github / github/copilot-cli

Large Image Attachment Warning Excess Bug

未关闭
#4,164 0 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Shell
星标
11.2k
派生
1.9k
平均合并
14 小时 16 分钟
30 天内合并 PR
6

描述

### 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

贡献指南

打开贡献指南

调研方向

使用一张过大的图像复现该问题,然后在代码库中搜索报告里显示的确切警告文本。跟踪附件警告在后续轮次中是如何存储或显示的;完成的标准是,该警告只在有问题的附件尝试中出现,而不会出现在后续消息中。

由索引模型根据 Issue 内容生成。

评估

技术栈
shell
领域
cli
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
52/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。