The Gemini API docs show that OpenAI compatibility has been implemented for the Gemini API. However, according to the OpenAI URL, it still in a v1 beta. Because of this, it seems like a lot of parameters and functionality from the OpenAI API standard is missing in Gemini’s implementation of it.
For example, when I use the open-source Qwen Agent framework with the v1 beta URL provided by Gemini, I get an error saying that an undefined parameter “seed” was passed. Diving into the codebase, it looks like Qwen agent is passing a seed parameter in the generation config. All other OpenAI API providers support this parameter and never had any issue but since Gemini is in beta, I’m assuming this parameter is not a part of its implementation.
I think its high time these fixes were implemented. OpenAI API compatibility has been a thing since November 2024 and should be well out of beta by now.
Thanks!