waveterm icon indicating copy to clipboard operation
waveterm copied to clipboard

[Bug]: OpenRouter models don’t see attached images

Open jmaver opened this issue 2 months ago • 1 comments

Current Behavior

I set up gemini-2.5-flash:

"openrouter-gemini-2.5-flash": { "display:name": "OpenRouter - Gemini 2.5 Flash", "ai:provider": "openrouter", "ai:model": "google/gemini-2.5-flash", "ai:capabilities": [ "tools", "images", "pdfs" ] },

Try in openrouter chat with uploaded jpg, it can see it. Try in wave ai chat as attachement to chat, “I'm sorry, I cannot see images. I am a text-based assistant. If you are referring to an image that you see on your screen, please describe it to me.“

Expected Behavior

It should be able to see the image

Steps To Reproduce

  1. Add an openrouter config with gemini-2.5-flash
  2. Set chat to use this model
  3. attach an image
  4. ask the model to describe it

Wave Version

0.13.0 (202512091801)

Platform

macOS

OS Version/Distribution

Taho

Architecture

arm64

Anything else?

No response

Questionnaire

  • [ ] I'm interested in fixing this myself but don't know where to start
  • [ ] I would like to fix and I have a solution
  • [ ] I don't have time to fix this right now, but maybe later

jmaver avatar Dec 10 '25 15:12 jmaver

thanks for reporting, was able to reproduce, will work on a fix for the next patch release

sawka avatar Dec 10 '25 17:12 sawka