Agent Panel: Claude Sonnet 4 (github copilot version) can't read images
Summary
When reading an image, this error occurs: Attempted to read an image, but Zed doesn't currently sending images to Claude Sonnet 4.
Steps to trigger the problem:
- Insert image from workspace for Claude Sonnet 4 to read
- The tool calling of reading the image fails and displays the previous error message
Zed Version and System Specs
Zed: v0.187.8 (Zed) OS: Linux X11 linuxmint 22.1 Memory: 31 GiB Architecture: x86_64 GPU: Quadro T2000 || NVIDIA || 565.77
This is a limitation from copilot side. They don't support images on sonnet 4 yet. If it gets added you will be able to add images as context which can then read by the agent.
Stupid question, but how did you select Claude Sonnet 4 from the Github Copilot models? Is this already supported in Zed?
Stupid question, but how did you select Claude Sonnet 4 from the Github Copilot models? Is this already supported in Zed?
![]()
Yeah, it is supported and it should be listed in Zed either way, just make sure to enable the model in the copilot settings on github and maybe update Zed as well.
Edit: I see your problem now, just select the hidden item at the end of the list, it's a weird visual bug on Zed that I noticed (you can use the scrollbar to reach the "true" end of the list to see Sonnet 4)
just make sure to enable the model in the copilot settings on github
My copilot subscription is managed and paid for by my employer, and it looks like Claude Sonnet 4 is not yet enabled. Thanks!
There is no hidden item like in #31333 for me...
No idea how enterprise subscriptions work, but you can test whether it's available or not on github's website directly using the Chat with Copilot feature to confirm what you just said.
Same issue for me.
Hmm, I also can't see Claude 4 Sonnet (Preview) using Copilot, I do have it enabled, I can chat with it in Copilot chat.
#31333 doesn't fix your problem?
It seems this is happening to me in Zed preview version 0.189.1
Is not fixed by scrolling down #31333
https://github.com/user-attachments/assets/63a4a2ee-9f29-4df3-9bfa-75ba37ae33b6
But with my same account using Zed 0.188.3 is working fine:
I also have a similar problem. Claude 4 was always there on the GitHub website and in Visual Studio Code, but it disappeared from zed after updating at a certain point.
If that's the case of many of you, you should open a separate issue.
I just pulled the latest commit and it has appeared again, seems like it was fixed (looking at the recent commits, seems to have been a side-effect though)
Is fixed now, I think by #31751
We added support for attaching images when using Copilot Chat, closing.
@Xyndra @nilskch
To make Claude 4 Models show up in Zed you need to enable them in the Copilot settings on Github under https://github.com/settings/copilot/features