From 1460905cc3e21b85b608f3d03119a76f4416c691 Mon Sep 17 00:00:00 2001 From: Sameer Kankute Date: Wed, 20 May 2026 12:13:00 +0530 Subject: [PATCH] Update litellm/llms/vertex_ai/gemini/vertex_and_google_ai_studio_gemini.py Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> --- .../llms/vertex_ai/gemini/vertex_and_google_ai_studio_gemini.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/llms/vertex_ai/gemini/vertex_and_google_ai_studio_gemini.py b/litellm/llms/vertex_ai/gemini/vertex_and_google_ai_studio_gemini.py index af39152446a..189ac7a7f6a 100644 --- a/litellm/llms/vertex_ai/gemini/vertex_and_google_ai_studio_gemini.py +++ b/litellm/llms/vertex_ai/gemini/vertex_and_google_ai_studio_gemini.py @@ -296,7 +296,7 @@ class VertexGeminiConfig(VertexAIBaseConfig, BaseConfig): """ Whether to include `id` on function_call / function_response parts. - Gemini 3.5+ on Google AI Studio accepts (and returns) `id` for strict + Gemini 3+ on Google AI Studio accepts (and returns) `id` for strict tool-call matching. Vertex AI rejects the field with HTTP 400. """ if custom_llm_provider != "gemini":