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

Ouverte
#161 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

Évaluation

Difficulté
3/5
Temps estimé
1-2 jours
Accessibilité débutants
55/100
Type d'issue
Bug
Clarté
Plutôt claire
Activité
Active
Stack technique
shell
Domaine
desktop

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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.
Langage dominant
Shell
Étoiles
110
Forks
9
Merge moyen
12 min
PR mergées (30 j)
1

Préparer son environnement

Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de CommandCodeAI/desktop

Toutes les issues de CommandCodeAI/desktop

Issues similaires

Plus d'issues Shell/Bash

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.