langchaingo icon indicating copy to clipboard operation
langchaingo copied to clipboard

The "gemini-1.0-pro-vision-latest" model is not functioning properly

Open kkkunny opened this issue 10 months ago • 0 comments

When I call this model and correctly pass in a URL of an image, it displays "googleapi: Error 400: Add an image to use models/gemini-1.0-pro-vision-latest, or switch your model to a text model." I believe the cause of this error is that the response header for accessing the image URL contains 'content-type': 'application/octet-stream'.

kkkunny avatar Apr 14 '24 06:04 kkkunny