Replies: 5 comments 13 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). |
|
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. |
|
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 KEYHavent had any issues as of yet, and the free tier is quite generous. For a casual user you're unlikely to hit its limits |
|
I tried gemini-2.0-flash on the free tier. Sometimes it works, but most times I get 'too many requests' errors. I don't use the parser that frequently, so I don't think I should be exceeding any limits. Anyone know why?
|
|
are these setting going to be exposed in settings anytime soon, or am i just not looking in the correct spot? |

Uh oh!
There was an error while loading. Please reload this page.
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!
All reactions