Replies: 3 comments 9 replies
-
Seems like they don't support the full API spec yet (which makes sense since it's still in beta). We haven't switched to the new structured outputs yet (it didn't exist when we implemented the integration). |
Beta Was this translation helpful? Give feedback.
-
OPENAI_BASE_URL=https://generativelanguage.googleapis.com/v1beta/openai/ This seemed to work intermittently (which is an improvement!), but mainly you just get "error code 500: The model is overloaded. Please try again later". Might have more success with a different model or paid access. |
Beta Was this translation helpful? Give feedback.
-
Just wanted to Chime in, the new Gemini 2.0 model seems to be working nicely now. OPENAI_BASE_URL=https://generativelanguage.googleapis.com/v1beta
OPENAI_MODEL=gemini-2.0-flash
OPENAI_API_KEY=YOUR KEY Havent had any issues as of yet, and the free tier is quite generous. For a casual user you're unlikely to hit its limits |
Beta Was this translation helpful? Give feedback.
-
Is this even possible?
https://ai.google.dev/gemini-api/docs/openai
For example if I plop this in to my compose.yml it fails miserably.
mealie-omni-1 | openai.BadRequestError: Error code: 400 - [{'error': {'code': 400, 'message': 'Invalid JSON payload received. Unknown name "response_format": Cannot find field.', 'status': 'INVALID_ARGUMENT', 'details': [{'@type': 'type.googleapis.com/google.rpc.BadRequest', 'fieldViolations': [{'description': 'Invalid JSON payload received. Unknown name "response_format": Cannot find field.'}]}]}}]
(Also for a second I thought the "upload an image" was an image of FOOD which would have been amazing if AI could create a recipe from a picture of the food dish.)
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions