CommandCodeAI / CommandCodeAI/command-code

Command Code v0.33.4 Windows image attachment bug

Đang mở
#479 3 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

windows
Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
4k
Fork
350
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện sự cố trên Windows với @./screenshots/image-1.png và đường dẫn tuyệt đối trên tất cả các shell và model được liệt kê. Theo dõi nơi CLI định tuyến PNG sau khi phát hiện đường dẫn; hoàn tất có nghĩa là hình ảnh đến được model dưới dạng đầu vào thị giác đa phương thức thay vì kích hoạt READ và phản hồi chỉ có văn bản.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Lĩnh vực
ai, cli
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Đặc tả rõ ràng
Mức phù hợp với người mới
50/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.