litellm-mirror/litellm/proxy/auth
Krish Dholakia 57e5ec07cc
Improved wildcard route handling on /models and /model_group/info (#8473)
* fix(model_checks.py): update returning known model from wildcard to filter based on given model prefix

ensures wildcard route - `vertex_ai/gemini-*` just returns known vertex_ai/gemini- models

* test(test_proxy_utils.py): add unit testing for new 'get_known_models_from_wildcard' helper

* test(test_models.py): add e2e testing for `/model_group/info` endpoint

* feat(prometheus.py): support tracking total requests by user_email on prometheus

adds initial support for tracking total requests by user_email

* test(test_prometheus.py): add testing to ensure user email is always tracked

* test: update testing for new prometheus metric

* test(test_prometheus_unit_tests.py): add user email to total proxy metric

* test: update tests

* test: fix spend tests

* test: fix test

* fix(pagerduty.py): fix linting error
2025-02-11 19:37:43 -08:00
..
auth_checks.py (UI) allow adding model aliases for teams (#8471) 2025-02-11 16:18:43 -08:00
auth_checks_organization.py (feat proxy) [beta] add support for organization role based access controls (#6112) 2024-10-09 15:18:18 +05:30
auth_utils.py Improve rpm check on keys (#8301) 2025-02-05 20:23:08 -08:00
handle_jwt.py Allow org admin to create teams on UI (#8407) 2025-02-09 00:07:15 -08:00
litellm_license.py (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
model_checks.py Improved wildcard route handling on /models and /model_group/info (#8473) 2025-02-11 19:37:43 -08:00
oauth2_check.py (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08: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 (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
route_checks.py [Bug Fix] - /vertex_ai/ was not detected as llm_api_route on pass through but vertex-ai was (#8186) 2025-02-01 17:26:08 -08:00
service_account_checks.py [Feat-Proxy] add service accounts backend (#5852) 2024-09-23 16:37:02 -07:00
user_api_key_auth.py Improved wildcard route handling on /models and /model_group/info (#8473) 2025-02-11 19:37:43 -08:00