mirror of
https://github.com/tiennm99/litellm.git
synced 2026-07-13 09:06:18 +00:00
f880ea537f
Tools with no parameters (like EnterPlanMode from Anthropic Agents SDK) send schemas with only $schema and no type field. Gemini rejects these with "functionDeclaration parameters schema should be of type OBJECT". Adds type: object when schema has no type and no anyOf/oneOf/allOf.
In total litellm runs 1000+ tests
[02/20/2025] Update:
To make it easier to contribute and map what behavior is tested,
we've started mapping the litellm directory in tests/test_litellm
This folder can only run mock tests.