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

Aperta
#161 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
55/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
shell
Ambito
desktop

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.
Lingua principale
Shell
Stelle
110
Fork
9
Merge medio
12m
PR unite (30g)
1

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di CommandCodeAI/desktop

Tutte le issue di CommandCodeAI/desktop

Issue simili

Altre issue su Shell/Bash

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.