You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Using images (like for testing UX changes) often results in the CLI getting into a broken state #4075
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
Create a UX application with Claud Code CLI
Request changes to the UX
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.
This appears to be resolved as of GitHub Copilot CLI v1.0.103. Please update to that release or a newer stable version. We're closing this as completed. If it still happens, please comment with your version and reproduction steps.
Activity
copilot-cli-bot commentedon Oct 23, 2026
This appears to be resolved as of GitHub Copilot CLI v1.0.103. Please update to that release or a newer stable version. We're closing this as completed. If it still happens, please comment with your version and reproduction steps.