mirror of
https://github.com/tiennm99/litellm.git
synced 2026-07-07 03:10:12 +00:00
87ae2cf3d7
* feat(ui_sso.py): allow admin to specify additional headers for sso provider some sso providers require special headers to return a json response * test(test_ui_sso.py): add unit tests to ensure custom headers are respect3ed * docs(config_settings.md): document new header param * fix(litellm_pre_call_utils.py): add spend tag tracking by user agent allows checking spend for cli tools like claude code * feat(litellm_pre_call_utils.py): track spend by user agent part if user agent contains "/" allows tracking spend across user agent versions Better cost tracking for claude cod * test(test_litellm_pre_call_utils.py): add testing for pre call utils, user agent parsing * fix: fix linting check
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/litellm
This folder can only run mock tests.