Error in chat: Invalid arguments for tool search:
Error in chat: Invalid arguments for tool search: Type validation failed: Value: {"max_results":5,"query":"Starship third test flight anomaly investigation","search_depth":"basic"}. Error message: [ { "code": "invalid_type", "expected": "array", "received": "undefined", "path": [ "include_domains" ], "message": "Required" }, { "code": "invalid_type", "expected": "array", "received": "undefined", "path": [ "exclude_domains" ], "message": "Required" } ]
using gemini flash, manual method, using new models.json file.
Spent an entire day figuring this out but still not getting anywhere closer to a solution. Why is this happening?
This issue is related to a known problem with Gemini models' tool calling functionality. The exact same error was reported and addressed in issue https://github.com/miurla/morphic/issues/453#issuecomment-2679935798.