mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-05 08:07:05 +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> |
||
|---|---|---|
| .. | ||
| files | ||
| image_edit | ||
| realtime | ||
| videos | ||
| __init__.py | ||
| test_gemini_client_setup.py | ||
| test_gemini_common_utils.py | ||
| test_gemini_tts.py | ||