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 4e8e6c7994c..d4d8124af40 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 @@ -662,6 +662,9 @@ class VertexGeminiConfig(VertexAIBaseConfig, BaseConfig): googleSearchRetrieval = None enterpriseWebSearch = None urlContext = None + # Note: code_execution, computerUse, and googleMaps are NOT search + # tools and CAN coexist with function declarations in separate Tool + # objects, so they are intentionally preserved here. # Function declarations can be grouped together in one Tool if gtool_func_declarations: