mirror of
https://github.com/tiennm99/litellm.git
synced 2026-07-15 18:21:44 +00:00
1. Add missing __init__.py files in tests/test_litellm/llms/gemini/ and subdirectories (realtime/, image_edit/) to fix ModuleNotFoundError with pytest-xdist parallel workers. 2. Update test_transform_request_uses_dynamic_max_tokens to use claude-3-7-sonnet-20250219 (max_output_tokens=64000) since claude-3-5-sonnet-20241022 was removed from model_prices JSON during deprecated model cleanup. The test assertion was outdated. 3. Update context caching TTL tests to use gemini-2.5-pro instead of gemini-1.5-pro. The old model was removed from model_prices JSON, causing supports_system_messages to return False, which prevented system_instruction from appearing in the transformation output. Co-authored-by: yuneng-jiang <yuneng-jiang@users.noreply.github.com>
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.