mirror of
https://github.com/tiennm99/litellm.git
synced 2026-07-26 06:18:56 +00:00
- Log provider token counting failures instead of silently swallowing - Fall back to local tokenizer when provider returns error response - Map assistant tool_calls to Responses API function_call items - Concatenate multiple system messages instead of overwriting - Hide internal error details from proxy API responses - Narrow exception catch in handler to network/JSON errors only - Update test to match new fallback behavior
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