mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-02 16:21:54 +00:00
A database timeout (httpcore.ReadTimeout) during get_config() in _update_llm_router would propagate and prevent ALL DB models from loading into the router. Now get_config() failures are caught separately so model add/delete operations still proceed. Similarly, _delete_deployment catches get_config failures and safely skips cleanup rather than crashing the entire sync cycle. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Testing for litellm/
This directory 1:1 maps the the litellm/ directory, and can only contain mocked tests.
The point of this is to:
- Increase test coverage of
litellm/ - Make it easy for contributors to add tests for the
litellm/package and easily run tests without needing LLM API keys.
File name conventions
litellm/proxy/test_caching_routes.pymaps tolitellm/proxy/caching_routes.pytest_<filename>.pymaps tolitellm/<filename>.py