mirror of
https://github.com/tiennm99/litellm.git
synced 2026-06-29 01:10:57 +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