Repository navigation
Description
Does this issue occur when all extensions are disabled?: Yes
- VS Code Version: 1.126.0
- OS Version: Windows 11 Pro 25H2 and Ubuntu Desktop 26.04 — reproduces on both
When using the built-in VS Code Chat without being signed in to a GitHub account, image attachments are not delivered to the configured model. The image appears in the chat composer, but the moment the request is sent, the model responds as if nothing was attached.
Typical response from the model:
No image was attached to your message. The
<attachments>section is empty. To get a description, please attach the image (drag-and-drop, paste, or use the paperclip icon) and resend your request.
This happens with every method of attaching an image:
- Drag-and-drop an image file from the OS into the chat input
- Copy an image to the clipboard and paste it into the chat input
- Click the
+button and link an image file from disk (including files inside the currently open workspace folder)
I have configured the chat to use a multimodal model (e.g. a local / BYOK multimodal model such as Minimax M3 and a multimodal Qwen 3.6 27B served locally), so the model itself is fully capable of consuming image input. The issue therefore appears to be on the client side — the attachment is stripped from the request before it reaches the model provider.
The same workflow works correctly when signed in to a GitHub account (see the Control experiment below), which is strong evidence that image attachment handling is gated on Chat-side authentication rather than on the configured provider, the model, the network, or extensions.
Control experiment (signed-in vs. signed-out)
To rule out the model, the network, and the host machine as the cause, I ran the exact same sequence of steps back-to-back, changing only the Chat sign-in state:
| A — Signed OUT of GitHub | B — Signed IN to GitHub Copilot | |
|---|---|---|
| VS Code build | 1.127.0 (Insiders) | 1.127.0 (Insiders) |
| OS | Windows 11 Pro 25H2 | Windows 11 Pro 25H2 |
| Workspace | c:\SERVER\TEMP\empty |
c:\SERVER\TEMP\empty |
| Active provider/model | Minimax M3 (multimodal) |
Minimax M3 (multimodal) |
| Image attached | LocalImage.png (drag-and-drop) |
LocalImage.png (drag-and-drop) |
| Prompt | "Please describe the image" | "Please describe the image" |
| Model's response | "No image was attached to your message. The <attachments> section is empty." |
Image content described correctly |
Result: the image is delivered to the model in B, silently dropped in A. The only variable that changes is the Chat sign-in state, so that is the deciding factor.
Steps to Reproduce
- Install VS Code on Windows 11 or Ubuntu Desktop.
- Do not sign in to a GitHub account.
- In Chat settings, configure a multimodal model as the active provider/model (e.g. a local or BYOK multimodal endpoint such as
Minimax M3orQwen 3.6 27B). - Open a new Chat session.
- Attempt to attach an image using all three of these methods:
- Drag-and-drop an image file into the chat input.
- Copy an image to the clipboard and paste it into the chat input.
- Click the
+button and pick an image file from disk.
- Type any prompt (e.g. "Please describe the image") and send.
- Observe that the model responds as if no image was attached.
Expected behaviour
Because the configured provider is a multimodal model, the attached image should be transmitted to the model alongside the text prompt, and the model should be able to see and respond to the image content.
Actual behaviour
The image attachment is silently dropped client-side. Only the text prompt reaches the model, which then responds that the <attachments> section is empty.
Additional context
- Affects both Windows 11 and Ubuntu Desktop.
- Affects multiple multimodal providers/models — not a single provider bug.
- The image preview does render correctly in the chat composer, which means the UI is receiving the attachment; the failure happens at request dispatch.
- Disabling all extensions does not fix the issue — confirmed by launching with
code --disable-extensionsand reproducing the same symptom, which rules out third-party extension interference. - Control experiment confirms the failure is gated on Chat sign-in state — see the Control experiment section above for the side-by-side comparison. This rules out the model, the network, the OS, and extensions as causes.
- Screenshot showing the symptom attached to this issue.
- Related discussion: https://www.reddit.com/r/vscode/comments/1uk1pit/chat_attach_image_help/

Activity
Fix chat image attachments silently dropped when signed out of GitHub (…