CommandCodeAI / CommandCodeAI/command-code
Command Code v0.33.4 Windows image attachment bug
還沒有人認領這個 Issue。
- 主要語言
- 沒有語言資料
- 星號
- 4k
- 分支
- 350
- PR 合併指標
- 30 天內沒有已合併 PR
描述
Summary
Command Code v0.33.4 Windows image attachment bug
OS:
Windows
Version:
v0.33.4
Model:
kimi-k2.5 / kimi-k2.6
Input tried:
@./screenshots/image-1.png
C:/Users/UserA/Desktop/Projects/ProjectA/screenshots/image-1.png
Expected:
Image should attach as multimodal vision input.
Actual:
CLI treats the image as a file path, calls READ on the PNG, then the agent says it cannot see pixels and only has file/shell/search tools.
Observed output:
READ [screenshots\image-1.png]
“I can't view image content directly.”
Conclusion:
The image is routed through file reading, not encoded into model context as a vision attachment.
Expected Behavior
Image should attach as multimodal vision input.
Actual Behavior
CLI treats the image as a file path, calls READ on the PNG, then the agent says it cannot see pixels and only has file/shell/search tools.
Steps to reproduce the issue
OS:
Windows
Version:
v0.33.4
Model:
kimi-k2.5 / kimi-k2.6
Input tried:
@./screenshots/image-1.png
C:/Users/UserA/Desktop/Projects/ProjectA/screenshots/image-1.png
Command Code Version
0.33.4
Operating System
Windows
Terminal/IDE
vscode,external
Shell
git bash, cmd.exe, powershell
Additional context
Observed output:
READ [screenshots\image-1.png]
“I can't view image content directly.”
CLI treats the image as a file path, calls READ on the PNG, then the agent says it cannot see pixels and only has file/shell/search tools.
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
首先,在 Windows 上使用 @./screenshots/image-1.png 和絕對路徑,在列出的各個 shell 和模型中重現該問題。追蹤 CLI 在路徑偵測後將 PNG 路由到何處;完成的標準是影像以多模態視覺輸入的形式到達模型,而不是觸發 READ 和純文字回應。
由索引模型根據 Issue 內容生成。
評估
- 領域
- ai, cli
- Issue 類型
- 缺陷
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 冷清
- 描述清晰度
- 描述清楚
- 新手友好度
- 50/100