I recently learned that the OpenAI Agents SDK has started to provide support for LiteLLM, which is great! While exploring this, I tried out the Gemini model and attempted to invoke its native googleSearch tool — but it doesn’t seem to work as expected.
In LiteLLM you can pass tools in this structure:tools = [{“googleSearch”: {}}] to completion() calls to make it work but Agents SDK expects function tool, or Open AI’s native tools.
Is there an existing way to make such native tools work, or are there plans to support this kind of integration officially?
I am using LitellmModel from agents.extensions.models.litellm_model which wraps LiteLLM’s acompletion() function.
So I assumed agents SDK doesn’t seem to support LiteLLM’s native tool format yet (I acknowledge they in beta).
I’m new to this, so I’m still learning and might not be fully familiar with all the details.