Using images (like for testing UX changes) often results in the CLI getting into a broken state
- 主要語言
- Shell
- 星號
- 11.2k
- 分支
- 1.9k
- 平均合併
- 14 小時 16 分鐘
- 30 天內合併 PR
- 6
描述
### 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_
貢獻指南
研究方向
首先,透過反覆進行 UX 變更並擷取螢幕截圖,在 GitHub Copilot CLI 1.0.70-0 中重現問題。接著追蹤圖像附件如何被保留,以及大小限制錯誤如何呈現。在 CLI 管理完累積的圖像上下文後,持續提出要求不再導致 CLI 反覆回報圖像大小錯誤,即表示完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- shell
- 領域
- cli
- Issue 類型
- 缺陷
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 48/100