Skip to content

New Gemini LIVE model naming got blocked by Google Search tool use #1512

Closed
@rayira

Description

@rayira

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:

  1. Install 'google-adk==1.2.1'
  2. Run agent with 'tools=[google_search],'
  3. Start the agent
  4. 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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions