langchaingo
langchaingo copied to clipboard
The "gemini-1.0-pro-vision-latest" model is not functioning properly
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'.