morphic icon indicating copy to clipboard operation
morphic copied to clipboard

Error in chat: Invalid arguments for tool search:

Open warlock666 opened this issue 1 year ago • 1 comments

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?

warlock666 avatar Mar 02 '25 09:03 warlock666

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.

miurla avatar Mar 02 '25 09:03 miurla