Large Image Attachment Warning Excess Bug
- 主要言語
- Shell
- スター
- 11.2k
- フォーク
- 1.9k
- 平均マージ
- 14時間 16分
- マージ済み PR(30日)
- 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:
コントリビューションガイド
調査の方向性
サイズ超過の画像で問題を再現し、その後、報告に示されている警告テキストと完全に一致する文字列をコードベース内で検索します。後続のターンにわたって添付ファイルの警告がどのように保存または表示されるかを追跡します。完了条件は、警告が問題のある添付ファイルの試行に対してのみ表示され、後続のメッセージには表示されないことです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- shell
- 領域
- cli
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 52/100