mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-25 22:20:43 +00:00
* fix(sdk): stop requiring redis to import the Messages streaming path redis_update_buffer.py and dynamic_rate_limiter_v3.py imported RedisError at module level. Both sit on the import chain that the SDK /v1/messages stream loads, so an SDK install without redis lost every streaming success callback. Import RedisError only where a Redis call can actually raise it. * style(tests): space the optional redis import fixture per ruff format --------- Co-authored-by: Joshua Valluru <326636767+joshua-berri@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_base_update_queue.py | ||
| test_daily_spend_update_queue.py | ||
| test_e2e_pod_lock_manager.py | ||
| test_pod_lock_manager.py | ||
| test_redis_update_buffer.py | ||
| test_spend_logs_partition_manager.py | ||
| test_spend_update_queue.py | ||
| test_tool_discovery_queue.py | ||
| test_window_spend_update_queue.py | ||