Large Image Attachment Warning Excess Bug
- Lenguaje dominante
- Shell
- Estrellas
- 11.2k
- Forks
- 1.9k
- Merge medio
- 14 h 16 min
- PR fusionados (30 d)
- 6
Descripción
### 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:
Guía de contribución
Línea de trabajo
Reproduce el problema con una imagen demasiado grande y, a continuación, busca en el código el texto exacto de la advertencia que se muestra en el informe. Rastrea cómo se almacenan o muestran las advertencias de los archivos adjuntos en los turnos posteriores; se considera terminado cuando la advertencia aparece únicamente para el intento de adjuntar que provoca el problema, no en mensajes posteriores.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- shell
- Área
- cli
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Tranquilo
- Claridad
- Bastante claro
- Aptitud para principiantes
- 52/100