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
I have connected the gemini-pro-vision model via openrouter.ai, but I always get the following error message within LibreChat. I've tested it with different images and types (png, jpg...).
Something went wrong. Here's the specific error message we encountered: Error: { "error": { "code": 400, "message": "Provided image is not valid.", "status": "INVALID_ARGUMENT" } }
Am I doing something wrong, do I need to set an option?
Thanks for your help!
Steps to Reproduce
Create openrouter.ai account
Get API key
Edit librechat.yaml
restart docker container
Test gemini-vision-pro
What browsers are you seeing the problem on?
Firefox
Relevant log output
2024-01-25 14:17:52 error: [MeiliMongooseModel.findOneAndUpdate] Convo not found in MeiliSearch and will index b716275d-6e10-4a5b-a4ff-8a5a7a7b20d0 Document `b716275d-6e10-4a5b-a4ff-8a5a7a7b20d0` not found.
2024-01-25 14:17:54 warn: [OpenAIClient.chatCompletion][stream] API error
2024-01-25 14:17:54 warn: [OpenAIClient.chatCompletion][finalChatCompletion] API error
2024-01-25 14:17:54 error: [OpenAIClient.chatCompletion] Unhandled error type Error: {
"error": {
"code": 400,
"message": "Provided image is not valid.",
"status": "INVALID_ARGUMENT"
}
}
2024-01-25 14:17:54 error: [handleAbortError] AI response error; aborting request: Error: {
"error": {
"code": 400,
"message": "Provided image is not valid.",
"status": "INVALID_ARGUMENT"
}
}
Screenshots
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
danny-avila
changed the title
[Bug]: Error while using openrouter/gemini-pro-vision
Enhancement: Select Vision Model from Client or Config file for Custom Endpoint
Jan 25, 2024
Thanks for your report. I will have to test to be sure but this is likely because gpt-4-vision is being prioritized regardless of you selecting gemini as it is using OpenAI specs, on top of maybe some other incompatibility.
I'm using this issue to address the core issue, where users would benefit from outright selecting the vision model to be used.
What happened?
Hello everyone,
I have connected the gemini-pro-vision model via openrouter.ai, but I always get the following error message within LibreChat. I've tested it with different images and types (png, jpg...).
Am I doing something wrong, do I need to set an option?
Thanks for your help!
Steps to Reproduce
What browsers are you seeing the problem on?
Firefox
Relevant log output
Screenshots
Code of Conduct
The text was updated successfully, but these errors were encountered: