You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Claude agent host: native (Anthropic-auth) models hardcode supportsVision:false, so image paste is rejected #337631
Start a Claude session and pick any native model (Opus, Sonnet, Haiku, Fable).
Paste an image into the chat input.
Expected: the image is attached. All current Claude models accept images.
Actual: the attachment is struck through with the hover text "Opus does not support images." The same happens for every native Claude model.
Cause
Native Claude models are mapped with vision hardcoded off. In the 1.138 build, the model mapper called from _fetchNativeModels() (1.139 has the same code, minified as name:r.displayName,supportsVision:!1):
Copilot-routed models read vision from Copilot's capability data (supportsVision:!!s.capabilities?.supports?.vision), so Claude through Copilot accepts images while the same models through native auth do not.
Confirmation
Changing supportsVision:!1 to supportsVision:!0 in that mapper and restarting VS Code fixes it: the paste is accepted, the image reaches the session (the model opens it with the Read tool as Pasted Image.png), and Opus describes the screenshot content correctly.
Suggested fix
Set supportsVision: true for native Claude models, or derive it from the model family, since the SDK's supportedModels() result does not carry a vision flag.
Related but different: #293474 (closed) covered images in Copilot-routed Claude mode, before native auth existed (#323037).
Thanks for creating this issue! It looks like you may be using an old version of VS Code; the latest stable release is 1.139.0. Please try upgrading to the latest version and checking whether this issue remains.
Still reproduces on 1.139.0 (latest stable). The native-model mapper in out/vs/platform/agentHost/node/agentHostMain.js still has name:r.displayName,supportsVision:!1; pasting an image into a native Claude session shows " does not support images." Flipping it to !0 fixes it again. Description updated with the version.
Duplicate of #331347 (fix in #331396), which I missed when searching. It still reproduces on 1.139.0: the native-model mapper has supportsVision:false, and flipping it to true makes pasted images work, which matches what #331396 does. Closing in favour of #331347.
Activity
vs-code-engineering commentedon Sep 24, 2026
Thanks for creating this issue! It looks like you may be using an old version of VS Code; the latest stable release is 1.139.0. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!
romanrokon commentedon Sep 24, 2026
Still reproduces on 1.139.0 (latest stable). The native-model mapper in
out/vs/platform/agentHost/node/agentHostMain.jsstill hasname:r.displayName,supportsVision:!1; pasting an image into a native Claude session shows " does not support images." Flipping it to!0fixes it again. Description updated with the version.romanrokon commentedon Sep 25, 2026
Duplicate of #331347 (fix in #331396), which I missed when searching. It still reproduces on 1.139.0: the native-model mapper has
supportsVision:false, and flipping it totruemakes pasted images work, which matches what #331396 does. Closing in favour of #331347.