News for hackers. Stuff that matters.
Re:Google Gemini has the worst LLM API by ctxc on Sunday May 04, 2025 @07:36AM (#43886140)
Had to move away from Gemini because the SDK just didn't work.

Regardless of if I passed a role or not, the function would say something to the effect of "invalid role, accepted are user and model".

Tried switching to openAI compatible SDK, it threw errors for tool call calls and I just gave up.

Could you confirm if it was a known bug that was fixed?

Re:Google Gemini has the worst LLM API by ctxc on Sunday May 04, 2025 @07:44AM (#43886173)
Re:Google Gemini has the worst LLM API by chrisheecho on Sunday May 04, 2025 @04:36PM (#43889375)
You don't have to specify role when you call through Python (https://cloud.google.com/vertex-ai/generative-ai/docs/start/...)

(which I think is what you are using but maybe i'm wrong).

Feel free to DM me on @chrischo_pm on X. Stuff that you are describing shouldn't happen