-
Notifications
You must be signed in to change notification settings - Fork 450
Open
Labels
priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-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.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Description
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.Moderately-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.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.