litellm-mirror/litellm/proxy/auth
Krish Dholakia dec53961f7 LiteLLM Minor Fixes and Improvements (11/09/2024) (#5634)
* fix(caching.py): set ttl for async_increment cache

fixes issue where ttl for redis client was not being set on increment_cache

Fixes https://github.com/BerriAI/litellm/issues/5609

* fix(caching.py): fix increment cache w/ ttl for sync increment cache on redis

Fixes https://github.com/BerriAI/litellm/issues/5609

* fix(router.py): support adding retry policy + allowed fails policy via config.yaml

* fix(router.py): don't cooldown single deployments

No point, as there's no other deployment to loadbalance with.

* fix(user_api_key_auth.py): support setting allowed email domains on jwt tokens

Closes https://github.com/BerriAI/litellm/issues/5605

* docs(token_auth.md): add user upsert + allowed email domain to jwt auth docs

* fix(litellm_pre_call_utils.py): fix dynamic key logging when team id is set

Fixes issue where key logging would not be set if team metadata was not none

* fix(secret_managers/main.py): load environment variables correctly

Fixes issue where os.environ/ was not being loaded correctly

* test(test_router.py): fix test

* feat(spend_tracking_utils.py): support logging additional usage params - e.g. prompt caching values for deepseek

* test: fix tests

* test: fix test

* test: fix test

* test: fix test

* test: fix test
2024-09-11 22:36:06 -07:00
..
auth_checks.py add check for admin only routes 2024-09-03 15:03:32 -07:00
auth_utils.py Allow client-side credentials to be sent to proxy (accept only if complete credentials are given) (#5575) 2024-09-06 19:21:54 -07:00
handle_jwt.py LiteLLM Minor Fixes and Improvements (11/09/2024) (#5634) 2024-09-11 22:36:06 -07:00
litellm_license.py fix(proxy_server.py): fix proxy_server.py premium user check for encrypted license key 2024-07-10 12:25:31 -07:00
model_checks.py fix: Minor LiteLLM Fixes + Improvements (29/08/2024) (#5436) 2024-08-29 22:40:25 -07:00
oauth2_check.py pass llm provider when creating async httpx clients 2024-09-10 11:51:42 -07:00
oauth2_proxy_hook.py add hook for oauth2 proxy 2024-08-28 15:51:20 -07:00
public_key.pem fix update public key 2024-07-27 09:45:58 -07:00
rds_iam_token.py refactor get_secret 2024-09-03 10:42:12 -07:00
route_checks.py add test for admin only routes 2024-09-03 15:26:42 -07:00
user_api_key_auth.py LiteLLM Minor Fixes and Improvements (11/09/2024) (#5634) 2024-09-11 22:36:06 -07:00