Repository navigation
Commit d87aed8
committed
Google: Use parameters_json_schema for function declarations
Use parameters_json_schema instead of parameters (with schema_from_param
conversion) for FunctionDeclaration. This preserves the full JSON Schema
including anyOf types, which Gemini 3+ handles correctly via the REST API.
See: google/adk-python#34241 parent eac4142 commit d87aed8
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
783 | 783 | | |
784 | 784 | | |
785 | 785 | | |
786 | | - | |
| 786 | + | |
| 787 | + | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
| 791 | + | |
787 | 792 | | |
788 | 793 | | |
789 | 794 | | |
| |||
0 commit comments