litellm/tests/test_litellm/proxy
Krish Dholakia 6bb1d77f45
Org level tpm/rpm limits + Team tpm/rpm validation when assigned to org (#15549)
* fix(support-model-specific-tpm/rpm-limits): Allows setting rate limits by tpm/rpm for models by team

* fix(key_management_endpoints.py): enforce guaranteed throughput with key-level model tpm/rpm limits, when team-level tpm/rpm limits are set

* test: add unit testing

* feat(schema.prisma): add metadata to litellm budget table

* feat(proxy/utils.py): add org limits to user api key auth

allows org level tpm/rpm limiting to work

* feat: add org level tpm/rpm limits + inherit org id in key from team

enables org level tpm/rpm limits

* feat: validated working org tpm/rpm limits

* feat: support updating org level, model specific tpm/rpm limits

* fix: working key validation for org level tpm/rpm limits

* fix: working validation for orgs when giving tpm/rpm to teams

* fix(key_management_endpoints.py): fix tpm/rpm limits on orgs

* fix(key_management_endpoints.py): support limits

* refactor: remove duplicate var

* fix: refactor to avoid ruff errors

* fix: fix typign

* fix: fix linting error

* fix: fix testing

* fix(key_management_endpoints.py): document params
2025-10-25 13:40:29 -07:00
..
_experimental/mcp_server fix: Add response_type + PKCE parameters to OAuth authorization endpoint (#15720) 2025-10-21 09:43:19 -07:00
anthropic_endpoints
auth Fix Token Spend is under budget for passthrough (#15805) 2025-10-22 10:55:22 -07:00
client test fix 2025-09-26 11:06:26 -07:00
common_utils [Bug Fix] Tags as metadata dicts were raising exceptions (#15625) 2025-10-17 13:20:07 -07:00
db attempt to avoid/minimize deadlocks (#15281) 2025-10-24 12:22:38 -07:00
experimental/mcp_server
google_endpoints fix gemini cli by actually streaming the response (#15264) 2025-10-07 11:26:39 -07:00
guardrails Guardrails - Responses API, Image Gen, Text completions, Audio transcriptions, Audio Speech, Rerank, Anthropic Messages API support via the unified apply_guardrails function (#15706) 2025-10-25 13:38:57 -07:00
health_endpoints
hooks fixed lasso import config, redis cluster hash tags for test keys (#15917) 2025-10-24 14:31:59 -07:00
image_endpoints test fix 2025-10-17 10:46:42 -07:00
management_endpoints Org level tpm/rpm limits + Team tpm/rpm validation when assigned to org (#15549) 2025-10-25 13:40:29 -07:00
management_helpers [MCP Gateway] Litellm mcp fixes team control (#15304) 2025-10-07 16:48:00 -07:00
middleware
openai_files_endpoint fix issue from pr review 2025-10-01 11:57:10 +08:00
pass_through_endpoints Litellm sameer oct staging (#15806) 2025-10-24 12:17:22 -07:00
spend_tracking test_sanitize_request_body_for_spend_logs_payload_mixed_types 2025-09-20 12:33:37 -07:00
test_configs
ui_crud_endpoints test: add UI theme settings retrieval and update tests 2025-09-30 10:01:44 -05:00
vector_store_endpoints
__init__.py test fix 2025-10-17 10:46:42 -07:00
test_batch_metadata_none_fix.py
test_caching_routes.py
test_common_request_processing.py [Feat] Cost Tracking - specify a global vendor discount for costs. (#15546) 2025-10-14 20:07:04 -07:00
test_custom_proxy.py fix(ui/): fix routing for custom server root path (#15701) 2025-10-23 13:59:29 -07:00
test_fastapi_offline_routes.py
test_health_check_functions.py
test_litellm_pre_call_utils.py
test_proxy_cli.py feature/add max requests env var 2025-09-28 19:18:56 +01:00
test_proxy_server.py [Feat] Tag Management - Add support for setting tag based budgets (#15433) 2025-10-10 19:24:50 -07:00
test_proxy_types.py
test_proxy_utils.py fix(ui/): fix routing for custom server root path (#15701) 2025-10-23 13:59:29 -07:00
test_route_llm_request.py
test_shared_health_check.py Add shared healthcheck 2025-10-09 22:18:05 +05:30
test_spend_log_cleanup.py
test_swagger_chat_completions.py
test_team_member_update.py