One pasted image and claude-opus-5 won't look at any more images
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 48/100
Direção de pesquisa
Reproduza o comportamento no claude-opus-5 com a versão 1.0.84-5 colando uma imagem e, em seguida, solicitando várias visualizações de imagem ao longo de vários turnos. Inspecione o valor de image_limit em prebuilds/darwin-arm64/runtime.node e considere as superfícies /model ou /context mencionadas no relatório. A tarefa deverá ser considerada concluída quando o comportamento de image-limit estiver correto ou for claramente apresentado, e os resultados das visualizações de imagem não parecerem mais falsamente bem-sucedidos.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Describe the bug
Pasted a screenshot into a session on claude-opus-5, and after that the agent couldn't view a single image file. Every view call came back with "You've reached the maximum number of images you can view (1)".
The CLI does say what happened:
Removed 2 images from the model request to stay within the model's 1-image limit. User-provided images were prioritized over tool-generated images, with newer messages kept first.
Fair enough as a message, but the result is that one screenshot early on burns the only slot and the agent is blind to images for everything after. Anything needing two images is off the table, like comparing a before/after render or checking a regenerated icon against the reference I just handed it.
Affected version
1.0.84-5
Steps to reproduce the behavior
- Start a session on claude-opus-5
- Paste an image
- Ask it to view two or more image files, same turn or any later turn
- Every one gets refused
I had it generate three solid-color PNGs and view them in one turn. All three blocked. Tried two more four turns later with no new image attached. Also blocked, so the original screenshot was still holding the slot.
One thing that makes this harder to notice: each call returns "Viewed image file successfully" and the limit message together, so at a glance it looks like it worked.
Expected behavior
A higher limit where the model can handle it, or some way for an old image to drop out instead of holding the slot indefinitely. If 1 genuinely is intended, surfacing it in /model or /context would help. Right now you only find out after the agent has already tried to look at something.
Additional context
macOS 26.6.2, arm64, Apple Terminal, zsh.
image_limit turns up as a string in prebuilds/darwin-arm64/runtime.node right next to Copilot-Vision-Request, so it looks like a per-model capability rather than anything I can set. Nothing image-related in ~/.copilot/settings.json or config.json.
The 1.0.84-5 changelog has this under fixed: "When image-heavy requests exceed model limits, user-provided images are prioritized over tool-generated images, newer messages are kept first, and the CLI reports any removals" (#19644). That's presumably what made this visible. No idea whether the limit of 1 is new or was just silent before.
What I didn't check: whether other models are also at 1, or whether the value changed recently. I only tested claude-opus-5 on this version. From inside a session I also can't tell whether it's the retained screenshot specifically or just a counter.
Closest existing issues I found are #3295, #4536 and #4600 (routing and MCP image results) and #965, #3767, #4183 (the 5 MB payload cap). Those look like different problems.
- Linguagem predominante
- Shell
- Estrelas
- 11.2k
- Forks
- 1.9k
- Merge médio
- 14h 16min
- PRs com merge (30d)
- 6
Guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de github/copilot-cli
-
triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
github/copilot-cli#4848 ·
-
area:agents area:mcp
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
github/copilot-cli#4729 ·
-
area:sessions
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
github/copilot-cli#4712 ·
-
triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
github/copilot-cli#4638 ·
-
Expose large_output_file_path on TaskShellProgress so clients can read complete shell-task output Abertaarea:tools
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
github/copilot-cli#4630 · 1 comentário ·
Todas as issues de github/copilot-cli
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
community-scripts/ProxmoxVE#17425 · 1 comentário ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 90/100
danielmiessler/LifeOS#2218 ·
-
docs(agents): strengthen the no-backslash-escaped-backticks rule with an issue-creation example Aberta
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 92/100
-
technical-debt
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 85/100
ll7/robot_sf_ll7#9560 ·
-
Update ghgrab to 2.1.0 Abertapackage-update
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
oSoWoSo/vOid_Community_repOsitory#148 · 1 comentário ·