Description
Some users are reporting issues with the tool definitions (after Toolsets initial implementation).
See #339
With the new approach to tool definitions, the input schema for tools with no parameters now looks like:
As opposed to:
{"type":"object","properties":{}}
Both should be valid jsonschemas, however, both prove to cause issues in different clients or inference servers.
As an example, the empty properties definition used to cause problems in Gemini:
GenerateContentRequest.tools[0].function_declarations[0].parameters.properties[params].properties: should be non-empty for OBJECT type