CommandCodeAI / CommandCodeAI/command-code

Command Code v0.33.4 Windows image attachment bug

未关闭
#479 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

windows
主要语言
没有语言数据
星标
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.

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先,在 Windows 上使用 @./screenshots/image-1.png 和绝对路径,在列出的各个 shell 和模型中复现该问题。跟踪 CLI 在路径检测后将 PNG 路由到何处;完成的标准是图像作为多模态视觉输入到达模型,而不是触发 READ 和纯文本响应。

由索引模型根据 Issue 内容生成。

评估

领域
ai, cli
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
冷清
描述清晰度
描述清楚
新手友好度
50/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。