News for hackers. Stuff that matters.
Re:Google Gemini has the worst LLM API by jacob019 on Sunday May 04, 2025 @10:20AM (#43886863)
Except that the OpenAI compatible endpoint isn't actually compatible. Doesn't support string enum values for function calls and throws a confusing error. Vertex at least has better error messages. My solution, just use text completions and emulate the tool call support client side, validate the responses against the schema, and retry on failure. It rarely has to retry and always works the 2nd time even without feedback.
Re:Google Gemini has the worst LLM API by ashu1461 on Sunday May 04, 2025 @11:17AM (#43887209)
There is also no way to over-write content moderation settings, and half of the responses you generate via open ai endpoint end up being moderated.