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

Aberta
#161 0 comentários 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
3/5
Tempo estimado
1-2 dias
Facilidade para iniciantes
55/100
Tipo de issue
Bug
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
shell
Domínio
desktop

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.
Linguagem predominante
Shell
Estrelas
110
Forks
9
Merge médio
12min
PRs com merge (30d)
1

Preparar o ambiente

Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de CommandCodeAI/desktop

Todas as issues de CommandCodeAI/desktop

Issues semelhantes

Mais issues de Shell/Bash

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.