From 0b6dd98000e2426c7a7bd8539f2b31d65288d6b0 Mon Sep 17 00:00:00 2001 From: Paul Kompfner Date: Mon, 6 Oct 2025 15:13:05 -0400 Subject: [PATCH] Make a note in our examples that there's an issue with Gemini Live + Vertex around using "google_search" alongside other tools --- .../26b-gemini-multimodal-live-function-calling.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/examples/foundational/26b-gemini-multimodal-live-function-calling.py b/examples/foundational/26b-gemini-multimodal-live-function-calling.py index f14713a5c..a5024d4a6 100644 --- a/examples/foundational/26b-gemini-multimodal-live-function-calling.py +++ b/examples/foundational/26b-gemini-multimodal-live-function-calling.py @@ -122,6 +122,9 @@ async def run_bot(transport: BaseTransport, runner_args: RunnerArguments): required=["location"], ) search_tool = {"google_search": {}} + # KNOWN ISSUE: If using GeminiVertexMultimodalLiveLLMService, it appears + # you cannot use the "google_search" tool alongside other tools. + # See https://github.com/googleapis/python-genai/issues/941. tools = ToolsSchema( standard_tools=[weather_function, restaurant_function], custom_tools={AdapterType.GEMINI: [search_tool]},