mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-01 00:21:18 +00:00
* fix aviation safety topic filter: remove overly broad exceptions, add cockpit access block words * fix airline brand protection filter: add identifier words, competitor/ops block words, tighten exceptions * add constants for large payload handling and detailed timing * add base64 truncation for logging payloads * use shallow copy for messages, track copy and callback timing * add callback duration and detailed timing to response metadata * add callback duration header, size-gate debug logging, detailed timing headers * add tests for callback timing, base64 truncation, and detailed timing * fix code quality: extract helpers, fix regex, clean up imports * rewrite _truncate_base64_in_value iteratively to satisfy recursive detector
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.