github / github/copilot-cli

Large Image Attachment Warning Excess Bug

Offen
#4,164 0 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Shell
Sterne
11.2k
Forks
1.9k
Ø Merge
14 Std. 16 Min.
Gemergte PRs (30 T.)
6

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Reproduziere das Problem mit einem übergroßen Bild und durchsuche anschließend die Codebasis nach dem im Bericht gezeigten exakten Warntext. Verfolge, wie Warnungen zu Anhängen über nachfolgende Nachrichten hinweg gespeichert oder angezeigt werden; abgeschlossen ist die Aufgabe, wenn die Warnung nur für den fehlerhaften Anhangsversuch erscheint, nicht bei späteren Nachrichten.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
shell
Bereich
cli
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Ruhig
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
52/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.