Closed
Description
Describe the bug
New Gemini LIVE model naming got blocked by Google Search tool use. Current check is to avoid model naming 'gemini-1' and allow only 'gemini-2' for Google Search tool use. The new naming is 'gemini-live-' which stops the LIVE to use Google Search tool.
To Reproduce
Steps to reproduce the behavior:
- Install 'google-adk==1.2.1'
- Run agent with 'tools=[google_search],'
- Start the agent
- See error: 'Google search tool is not supported for model gemini-live-2.5-flash-preview-native-audio'
Expected behavior
Gemini live 2.5 flash should support Google search tool.
Additional context
Gemini live 2.5 flash document.
https://cloud.google.com/vertex-ai/generative-ai/docs/models/gemini/2-5-flash#live-api-native-audio