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
[v0.14.7] Read tool incorrectly detects model as non-image-capable #3084
In the latest release v0.14.7, the read tool now supports reading images.However, there seems to be a small issue with the model capability check.
When I run read image.png, it says my model doesn’t support images.But when I pass the same image using @image.png, it works fine.
I’m using Sonnet 4, which supports both text and image inputs.
Attaching screenshot for reference 👇
Expected behavior: The read tool should correctly detect that the model (Sonnet 4) supports images and proceed without throwing the unsupported model error.
Activity
rekram1-node commentedon Oct 10, 2025
I think we need to update models.dev to track it correctly..
is this a custom claude sonnet 4? I see "Nexus Claude Sonnet 4" in your screenshot
But the other part looks like normal?
What provider is this?
Raviguntakala commentedon Oct 10, 2025
Nexus is my client’s internal API gateway
rekram1-node commentedon Oct 10, 2025
@Raviguntakala can u show your opencode.json if this is a custom model you need to specify the modalities currently...
ill show you, here is an example:
Raviguntakala commentedon Oct 11, 2025
Thanks @rekram1-node! After adding modalities, it is working.
rekram1-node commentedon Oct 11, 2025
sweet
Fix OpenCode vision support by adding modalities configuration to qwe…