You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: recursively remove additionalProperties from Gemini requests (#351)
Tool parameters with nested objects cause 400 bad request from Gemini
due to only removing the unsupported `additionalProperties` on
top-level.
```
Invalid JSON payload received. Unknown name "additionalProperties" at 'tools[0].function_declarations[0].parameters.properties[0].value': Cannot find field.
```
0 commit comments