litellm/tests/proxy_unit_tests
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
..
example_config_yaml
test_configs
test_model_response_typing
adroit-crow-413218-bc47f303efc9.json
azure_fine_tune.jsonl
batch_job_results_furniture.jsonl
conftest copy.py
conftest.py
data_map.txt
eagle.wav
gettysburg.wav
large_text.py
messages_with_counts.py
model_cost.json
openai_batch_completions_router.jsonl
openai_batch_completions.jsonl
speech_vertex.mp3
test_aproxy_startup.py
test_audit_logs_proxy.py
test_auth_checks.py (UI) allow adding model aliases for teams (#8471) 2025-02-11 16:18:43 -08:00
test_banned_keyword_list.py
test_custom_callback_input.py
test_db_schema_changes.py
test_deployed_proxy_keygen.py
test_jwt.py Litellm dev 02 06 2025 p3 (#8343) 2025-02-06 23:15:33 -08:00
test_key_generate_dynamodb.py
test_key_generate_prisma.py fix test_aview_spend_per_user 2025-02-11 15:49:21 -08:00
test_proxy_config_unit_test.py (fix) - proxy reliability, ensure duplicate callbacks are not added to proxy (#8067) 2025-01-28 21:01:56 -08:00
test_proxy_custom_auth.py
test_proxy_custom_logger.py
test_proxy_encrypt_decrypt.py
test_proxy_exception_mapping.py
test_proxy_gunicorn.py
test_proxy_pass_user_config.py
test_proxy_reject_logging.py
test_proxy_routes.py
test_proxy_server_caching.py
test_proxy_server_keys.py
test_proxy_server_langfuse.py
test_proxy_server_spend.py
test_proxy_server.py test: add more unit testing for team member endpoints (#8170) 2025-02-01 11:23:00 -08:00
test_proxy_setting_guardrails.py
test_proxy_token_counter.py
test_proxy_utils.py Improved wildcard route handling on /models and /model_group/info (#8473) 2025-02-11 19:37:43 -08:00
test_unit_test_max_model_budget_limiter.py
test_unit_test_proxy_hooks.py
test_update_spend.py
test_user_api_key_auth.py Litellm dev 01 31 2025 p2 (#8164) 2025-01-31 22:52:35 -08:00
vertex_key.json