github / github/copilot-cli

Using images (like for testing UX changes) often results in the CLI getting into a broken state

Abierto
#4,075 0 comentarios 0 reacciones 0 asignados Ver en GitHub
area:context-memory
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

1. Create a UX application with Claud Code CLI
2. Request changes to the UX
2. Ask it to use screenshots to self-validate if the code changes

Eventually you'll start seeing multiple errors on each request like:
"Images and/or native document attachments were removed from the request due to size constraints. Please use smaller image or document files."

I'm guessing it's the large image files sitting in context. not sure how

### Affected version

GitHub Copilot CLI 1.0.70-0

### Steps to reproduce the behavior

1. Create a UX application with Claud Code CLI
2. Request changes to the UX
2. Ask it to use screenshots to self-validate if the code changes

Eventually you'll start seeing multiple errors on each request like:
"Images and/or native document attachments were removed from the request due to size constraints. Please use smaller image or document files."

### Expected behavior

CLI should manage image context aggrressively, using compression, compaction, etc before showing error message.

### Additional context

_No response_

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Start by reproducing the issue in GitHub Copilot CLI 1.0.70-0 using repeated UX changes and screenshots. Then trace how image attachments are retained and how the size-constraint error is surfaced. Done means continued requests no longer leave the CLI reporting repeated image-size errors after it has managed the accumulated image context.

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
4/5
Tiempo estimado
3-5 días
Estado de actividad
Tranquilo
Claridad
Bastante claro
Aptitud para principiantes
48/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.