litellm/tests/unit/proxy/management_endpoints
devin-ai-integration[bot] bec8b460ca
fix(proxy): read per-model key limits after they move into metadata (#53447)
Key generation moves model_rpm_limit and model_tpm_limit into metadata and deletes
the request attributes before the organization limit check runs, so reading them
directly raised AttributeError and /key/generate returned 500

Co-authored-by: mateo <277851410+mateo-berri@users.noreply.github.com>
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-11-21 22:06:11 +00:00
..
management_v1 feat(proxy): add app groups with shared budgets and usage (#53232) 2026-11-21 12:50:58 -08:00
policy_endpoints fix(policy): drop refused temperatures on policy template enrichment calls (#53311) 2026-11-21 14:01:06 -08:00
scim refactor(auth_cache_invalidation): move the invalidation channel to the native client (#51135) 2026-11-21 18:58:27 +09:00
search_endpoints refactor(auth_cache): type auth cache keys and keep the cache always native (#51130) 2026-11-21 17:20:30 +09:00
sso ci(unit): cut unit check time with cheaper per-test resets and fewer non-unit tests (#51864) 2026-11-14 15:41:30 -08:00
usage_endpoints
__init__.py
jwt_key_mapping_doubles.py feat(auth): read virtual keys, jwt key mappings and model access groups through rust repositories (#52173) 2026-11-18 03:53:37 +00:00
test_access_group_endpoints.py refactor(auth_cache): type auth cache keys and keep the cache always native (#51130) 2026-11-21 17:20:30 +09:00
test_access_group_management.py refactor(auth_cache): type auth cache keys and keep the cache always native (#51130) 2026-11-21 17:20:30 +09:00
test_activity_tenant_scoping.py
test_auto_router_endpoints.py feat(auth): read teams, team memberships and organizations through rust repositories (#52176) 2026-11-18 22:32:05 +00:00
test_budget_endpoints.py refactor(auth_cache): type auth cache keys and keep the cache always native (#51130) 2026-11-21 17:20:30 +09:00
test_cache_settings_endpoints.py
test_callback_management_endpoints.py
test_common_daily_activity.py feat(customer-portal): show token usage and cache costs (#52601) 2026-11-18 18:49:08 -08:00
test_common_utils.py refactor(auth_cache): type auth cache keys and keep the cache always native (#51130) 2026-11-21 17:20:30 +09:00
test_compliance_endpoints.py
test_config_override_endpoints.py
test_coordination_redis_endpoints.py
test_cost_estimate_endpoint.py
test_cost_tracking_settings.py fix(proxy): keep a cost settings update from being undone by an in-flight config reload (#51273) 2026-11-12 00:54:10 +00:00
test_credential_migration.py fix(proxy): rotate all database secrets with the master key (#52998) 2026-11-20 10:02:59 -08:00
test_customer_budget.py fix(proxy): /customer/new budgets reset on the same schedule as other budgets (#51689) 2026-11-13 19:22:14 +00:00
test_customer_endpoints.py refactor(auth_cache_invalidation): move the invalidation channel to the native client (#51135) 2026-11-21 18:58:27 +09:00
test_daily_activity_routes.py feat(skills): export download history as streamed CSV (#52569) 2026-11-21 21:14:46 +00:00
test_delete_callbacks_endpoint.py
test_delete_verification_tokens_failed.py feat(auth): read virtual keys, jwt key mappings and model access groups through rust repositories (#52173) 2026-11-18 03:53:37 +00:00
test_encryption_endpoints.py
test_entraid_app_roles.py
test_gateway_request_endpoints.py
test_id_jag_assertion_capture.py
test_internal_user_endpoints.py refactor(auth_cache_invalidation): move the invalidation channel to the native client (#51135) 2026-11-21 18:58:27 +09:00
test_jwt_key_mapping.py refactor(auth_cache): type auth cache keys and keep the cache always native (#51130) 2026-11-21 17:20:30 +09:00
test_key_budget_change.py feat(auth): read teams, team memberships and organizations through rust repositories (#52176) 2026-11-18 22:32:05 +00:00
test_key_generate_prisma.py refactor(auth_cache): type auth cache keys and keep the cache always native (#51130) 2026-11-21 17:20:30 +09:00
test_key_management_endpoints.py fix(proxy): read per-model key limits after they move into metadata (#53447) 2026-11-21 22:06:11 +00:00
test_management_route_coverage.py
test_mcp_connector_import.py
test_mcp_management_endpoints.py test(mcp): give the pin test's proxy_server stub the general settings reader (#53295) 2026-11-20 19:56:03 -08:00
test_mcp_servers.py
test_model_deprecation_alerts.py
test_model_insights_endpoints.py feat(alerts): detect daily changes in recorded usage (#50666) 2026-11-11 18:23:02 -08:00
test_model_management_endpoints.py fix(proxy): preserve explicit model prices when metadata echoes null (#48746) 2026-11-16 08:33:45 -08:00
test_org_admin_team_access.py
test_organization_endpoints.py refactor(auth_cache): type auth cache keys and keep the cache always native (#51130) 2026-11-21 17:20:30 +09:00
test_password_endpoints.py
test_policy_endpoints.py fix(guardrails): log requests that a guardrail blocks on /apply_guardrail (#51014) 2026-11-16 15:18:08 -08:00
test_project_org_authz.py
test_prompt_cache_prediction.py feat(callbacks-parallel-request-limiter): port parallel request limiter v3 to a rust callback (#51537) 2026-11-16 22:56:38 -08:00
test_prompt_caching_requests.py
test_ptu_consumption.py
test_ptu_model_settings.py
test_request_error_endpoints.py
test_roi_calculator_endpoints.py
test_router_settings_endpoints.py
test_saml_sso.py
test_session_endpoints.py
test_sso_helper_utils.py refactor(rust_bridge): route every Rust-to-Python call through host modules (#50822) 2026-11-11 01:57:54 +00:00
test_subscription_accounts.py feat(auth): decide key and JWT authentication in a Rust core (#51374) 2026-11-17 14:07:47 +09:00
test_tag_management_endpoints.py refactor(auth_cache_invalidation): move the invalidation channel to the native client (#51135) 2026-11-21 18:58:27 +09:00
test_team_admin_field_permissions.py feat(proxy): require customer headers by gateway, team, or key (#53045) 2026-11-21 20:20:26 +00:00
test_team_callback_endpoints.py
test_team_default_params.py
test_team_endpoints.py feat(proxy): require customer headers by gateway, team, or key (#53045) 2026-11-21 20:20:26 +00:00
test_team_model_alias_merge.py
test_tool_management_endpoints.py
test_ui_sso.py refactor(auth_cache): type auth cache keys and keep the cache always native (#51130) 2026-11-21 17:20:30 +09:00
test_user_agent_analytics_endpoints.py
test_workflow_management_endpoints.py feat(control_plane): dataplane registry, credential strategies and client (#49655) 2026-11-16 17:36:23 +00:00