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

Offen
#161 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
55/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
shell
Bereich
desktop

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.
Vorherrschende Sprache
Shell
Sterne
110
Forks
9
Ø Merge
12 Min.
Gemergte PRs (30 T.)
1

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus CommandCodeAI/desktop

Alle Issues in CommandCodeAI/desktop

Ähnliche Issues

Weitere Issues zu Shell/Bash

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.