mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 19:24:27 +00:00
* fix(proxy_track_cost_callback.py): log to db if only end user param given * fix: allows for jwt-auth based end user id spend tracking to work * fix(utils.py): fix 'get_end_user_id_for_cost_tracking' to use 'user_api_key_end_user_id' more stable - works with jwt-auth based end user tracking as well * test(test_jwt.py): add e2e unit test to confirm end user cost tracking works for spend logs * test: update test to use end_user api key hash param * fix(langfuse.py): support end user cost tracking via jwt auth + langfuse logs end user to langfuse if decoded from jwt token * fix: fix linting errors * test: fix test * test: fix test * fix: fix end user id extraction * fix: run test earlier |
||
---|---|---|
.. | ||
__init__.py | ||
azure_content_safety.py | ||
batch_redis_get.py | ||
cache_control_check.py | ||
dynamic_rate_limiter.py | ||
example_presidio_ad_hoc_recognizer.json | ||
key_management_event_hooks.py | ||
max_budget_limiter.py | ||
model_max_budget_limiter.py | ||
parallel_request_limiter.py | ||
prompt_injection_detection.py | ||
proxy_failure_handler.py | ||
proxy_track_cost_callback.py |