Skip to content

parameters_json_schema seems not supported by Gemini Live API #1147

@longcw

Description

@longcw

When using parameters_json_schema in types.FunctionDeclaration, it works for the regular gemini LLM model like gemini-2.0-flash-001, but not work for the live api model gemini-2.0-flash-live-001 or gemini-2.5-flash-preview-native-audio-dialog.

It model can call the function but with an empty argument. It works when using parameters of types.FunctionDeclaration. Does the Gemini Live API supports parameters_json_schema?

FYI, I am using google-genai 1.26.0.

Metadata

Metadata

Assignees

Labels

priority: p2Moderately-important priority. Fix may not be included in next release.status:awaiting user responsetype: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions