-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
400 Invalid JSON payload while sending an image message to Google Gemini 1.5 model #103
Comments
Looks like you might be missing an array around the second
should be
|
my bad in the issue description (updated the description), I am sending the array. |
Can you send an exact repro then? I just tried using the above, and it worked just fine:
Returned
|
So this is the code that i am using. I am this open ai node package
After this i am getting the error:
|
Hmm it's unfortunately not reproducing for me. Do you have a support agent on the Google side? It may require their help (e.g. maybe your API key is going to a different model than mine):
|
Thanks for pointing out to this. I changed to |
Chatted a bit with the gemini team, and they suggest using |
Description
We encountered an issue when sending an image as part of a message to the Google Gemini 1.5 Flash model using the Braintrust Proxy. The request fails with the following error:
Steps to Reproduce:
Expected Behaviour:
Impact:
The text was updated successfully, but these errors were encountered: