litellm/tests/test_litellm/proxy
Krish Dholakia 39849627f7
feat(parallel_request_limiter_v2.py): add sliding window logic (#11283)
* feat(parallel_request_limiter_v2.py): add sliding window logic

allows rate limiting to work across minutes

* fix(parallel_request_limiter_v2.py): decrement usage on rate limit error

* fix(base_routing_strategy.py): fix merge from redis - preserve values in in-memory cache during gap b/w push to redis and read from redis

* fix(base_routing_strategy.py): catch the delta change during redis sync

ensures values are kept in sync

* fix(parallel_request_limiter_v2.py): update tpm tracking to use slot key logic

* fix: fix linting error

* test: update testing

* test: update tests

* test: skip on rate limit or internal server errors

* test: use pytest fixture instead

* test: bump mistral model
2025-05-31 10:06:42 -07:00
..
anthropic_endpoints
auth [Feat] Enforce Vector Store Access Controls on LiteLLM Auth (#11281) 2025-05-30 22:20:11 -07:00
client
common_utils
db build(VLLM-Passthrough-with-loadbalancing-support-(enables-using-model-list-for-VLLM-/classify-endpoint)): Closes #11205 2025-05-31 09:00:04 -07:00
experimental/mcp_server
guardrails build(VLLM-Passthrough-with-loadbalancing-support-(enables-using-model-list-for-VLLM-/classify-endpoint)): Closes #11205 2025-05-31 09:00:04 -07:00
health_endpoints
hooks feat(parallel_request_limiter_v2.py): add sliding window logic (#11283) 2025-05-31 10:06:42 -07:00
management_endpoints [Fix] QA Fixes - Vector Store Object Permissions (#11291) 2025-05-31 09:41:05 -07:00
middleware
openai_files_endpoint
pass_through_endpoints Anthropic - Files API w/ form-data support on passthrough + File ID support on /chat/completion (#11256) 2025-05-29 23:54:24 -07:00
spend_tracking
test_configs
types_utils
ui_crud_endpoints
test_caching_routes.py
test_common_request_processing.py
test_litellm_pre_call_utils.py
test_proxy_cli.py
test_proxy_server.py
test_route_llm_request.py
test_spend_log_cleanup.py
test_team_member_update.py