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
[Github Copilot] Anthropic models can't see images? #5291
I’m using a Copilot subscription on OpenCode. Everything works fine, but it seems that the Anthropic models are not able to “see” images.
Is this something I can fix on my end, or is it more likely a misconfiguration in the GitHub Copilot + Anthropic integration in OpenCode? Models from OpenAI handle vision correctly.
model "claude-haiku-4.5" not supported for vision model "claude-sonnet-4.5" not supported for vision model "claude-opus-4.5" not supported for vision
changed the title [-][Github Copilot] model "claude-opus-4.5" not supported for vision[/-][+][Github Copilot] Anthropic models can't see images?[/+]on Dec 9, 2025
I'm having the same issue and it is not limited to anthropic models, I tried gemini 3 pro and it is having the same issue with images. ~2 days ago images used to work fine, I think a recent update is the cause of this bug.
@rekram1-node my issue is when I copy paste an image. I have the latest version of OpenCode, and my GF is also facing the same issue, maybe it's something we have to activate in our github-copilot sub?
But that error you are seeing comes directly from copilot, not from us so maybe there is something you need to specify in your settings? Or maybe your tier subscription doesnt allow it?
But that error you are seeing comes directly from copilot, not from us so maybe there is something you need to specify in your settings? Or maybe your tier subscription doesnt allow it?
Yeah it seems that something like this is happening, will take a look. Thank you for you help!!
Activity
[-][Github Copilot] model "claude-opus-4.5" not supported for vision[/-][+][Github Copilot] Anthropic models can't see images?[/+]github-actions commentedon Dec 9, 2025
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.
rekram1-node commentedon Dec 9, 2025
ill take a look
aziham commentedon Dec 10, 2025
I'm having the same issue and it is not limited to anthropic models, I tried gemini 3 pro and it is having the same issue with images. ~2 days ago images used to work fine, I think a recent update is the cause of this bug.
rekram1-node commentedon Dec 10, 2025
@aziham what bug are you seeing? How do I reproduce
aziham commentedon Dec 10, 2025
@rekram1-node
This is what I'm getting when using the models in opencode (it used to work just fine).
I don't think the issue is related to the models, I tested them with Cherry Studio client and they work just fine
rekram1-node commentedon Dec 10, 2025
what provider are you using
aziham commentedon Dec 10, 2025
I'm using custom providers with @ai-sdk/openai-compatible to unify all my providers into one OpenAI-compatible endpoint (proxy running on localhost).
Config snippet:
rekram1-node commentedon Dec 10, 2025
@aziham add this to any model definition that supports images:
aziham commentedon Dec 10, 2025
@rekram1-node adding modalities fixed the issue, thanks Aiden.
agusmdev commentedon Dec 10, 2025
Can I make a fix like this but for github copilot integration?
rekram1-node commentedon Dec 10, 2025
@agusmdev I can't replicate your issue, images read fine?
agusmdev commentedon Dec 10, 2025
rekram1-node commentedon Dec 10, 2025
@agusmdev I still can't replicate your issue
rekram1-node commentedon Dec 10, 2025
But that error you are seeing comes directly from copilot, not from us so maybe there is something you need to specify in your settings? Or maybe your tier subscription doesnt allow it?
agusmdev commentedon Dec 10, 2025
Yeah it seems that something like this is happening, will take a look. Thank you for you help!!
rekram1-node commentedon Dec 10, 2025
Yeah no problem! Going to close since this seems not to be an opencode issue, but we can reopen if appropriate ofc
gdw2 commentedon Dec 30, 2025
Re github models, the image mode is still in "preview". If you're using a subscription under an org, they may have preview features turned off.
JosXa commentedon Feb 3, 2026
It's ambiguously called "Editor Preview Features" (GHE). Turn it on.