[Bug]: Attaching documents and images in the initial prompt does not seem to work with a skill.

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

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

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
55/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
shell
Lĩnh vực
desktop

Hướng nghiên cứu

The report points to initial chat submission when a custom skill and attached image or document are included; it does not name a source file or test. Start by tracing how the desktop app builds and sends the first prompt, then compare it with attachment handling for later messages. Done when the first message includes its attachments and the agent can access them, with a regression test covering this case.

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

Mô tả

bug
GUI version

0.1.60

Operating system

Windows

Reproduction steps
  1. Open Command Code desktop (logged in via account)
  2. Start a new chat select Deepseek 4.1 flash (probably the same for other models, but i mainly used this one)
  3. Start the prompt by refercing a custom skill (/skill-name) and write your prompt
  4. Paste and image and reference a document via @
  5. Send it
Expected behavior

The attached files should be correctly send with the initial prompt so that the agent can read and use them.

Actual behavior

The agent always cannot see/read access the image and it always starts with seachring the attached document since it was not actually attached. The attached files stay in the input of the chat after sending the message.
Sending a new message (after the initial prompt) with images or files atatched works fine.
The attached files are also not shown in the sent initial prompt.

Screenshots, recordings, or sanitized logs
Image Image
Safety check
  • I removed credentials and private project information from this report.
Ngôn ngữ chính
Shell
Star
110
Fork
9
Merge trung bình
12 phút
Pull request đã merge (30 ngày)
1

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

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.

Issue khác của CommandCodeAI/desktop

Tất cả issue của CommandCodeAI/desktop

Issue tương tự

Thêm issue về Shell/Bash

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.