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 Litellm fix GitHub action testing (#11163) 2025-05-26 14:41:42 -07:00
auth [Feat] Enforce Vector Store Access Controls on LiteLLM Auth (#11281) 2025-05-30 22:20:11 -07:00
client Litellm fix GitHub action testing (#11163) 2025-05-26 14:41:42 -07:00
common_utils Litellm fix GitHub action testing (#11163) 2025-05-26 14:41:42 -07:00
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 Litellm fix GitHub action testing (#11163) 2025-05-26 14:41:42 -07:00
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 Litellm fix GitHub action testing (#11163) 2025-05-26 14:41:42 -07:00
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 Litellm fix GitHub action testing (#11163) 2025-05-26 14:41:42 -07:00
openai_files_endpoint Litellm fix GitHub action testing (#11163) 2025-05-26 14:41:42 -07:00
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 Litellm fix GitHub action testing (#11163) 2025-05-26 14:41:42 -07:00
test_configs Litellm fix GitHub action testing (#11163) 2025-05-26 14:41:42 -07:00
types_utils Litellm fix GitHub action testing (#11163) 2025-05-26 14:41:42 -07:00
ui_crud_endpoints Litellm fix GitHub action testing (#11163) 2025-05-26 14:41:42 -07:00
test_caching_routes.py Litellm fix GitHub action testing (#11163) 2025-05-26 14:41:42 -07:00
test_common_request_processing.py Litellm fix GitHub action testing (#11163) 2025-05-26 14:41:42 -07:00
test_litellm_pre_call_utils.py Litellm fix GitHub action testing (#11163) 2025-05-26 14:41:42 -07:00
test_proxy_cli.py Litellm fix GitHub action testing (#11163) 2025-05-26 14:41:42 -07:00
test_proxy_server.py Litellm fix GitHub action testing (#11163) 2025-05-26 14:41:42 -07:00
test_route_llm_request.py Litellm fix GitHub action testing (#11163) 2025-05-26 14:41:42 -07:00
test_spend_log_cleanup.py Litellm fix GitHub action testing (#11163) 2025-05-26 14:41:42 -07:00
test_team_member_update.py Litellm fix GitHub action testing (#11163) 2025-05-26 14:41:42 -07:00