litellm/tests/unit/proxy/common_utils
Nate Armstrong eb8a2d224e
perf(auth): reuse validated models on UserApiKeyCache memory hits (#51912)
A typed read of the same in-memory payload returns a shallow copy of the model the previous read validated instead of running model_validate again. Writes, deletes and flushes drop the memo, and the Redis and shared store payloads are unchanged.
2026-11-15 15:39:44 -08:00
..
html_forms
__init__.py
test_admin_ui_utils.py
test_auth_cache_invalidation_pubsub.py
test_cache_aware_routing.py
test_cache_codec.py
test_callback_config_validation.py
test_callback_utils.py
test_check_batch_cost.py chore: move workspace packages under litellm (#51000) 2026-11-12 04:19:57 +00:00
test_check_responses_cost.py
test_codex_catalog_source.py
test_codex_model_catalog.py
test_codex_model_translation.py
test_codex_version.py
test_config_sync_pubsub.py
test_credential_hydration.py
test_custom_openapi_spec.py
test_customer_usage.py feat(customer-portal): complete hierarchy management (#51521) 2026-11-13 17:58:34 +00:00
test_debug_utils.py
test_discoverable_model_filter.py
test_encrypt_decrypt_utils.py
test_error_body_call_id.py
test_expired_ui_session_key_cleanup_manager.py
test_fips.py
test_get_routes.py
test_http_parsing_utils.py
test_json_merge_patch.py
test_key_expiry_alert_manager.py feat: email key owners before opted-in virtual keys expire (#51482) 2026-11-14 13:47:16 -08:00
test_key_rotation_e2e.py
test_key_rotation_integration.py
test_key_rotation_lock.py
test_key_rotation_manager.py
test_load_config_utils.py
test_model_deprecation.py
test_model_listing_utils.py
test_openai_endpoint_utils.py
test_openai_error_payload.py
test_openapi_route.py
test_openapi_schema_compat.py
test_periodic_reload_schedule.py
test_proxy_encrypt_decrypt.py
test_proxy_rate_limit_error.py feat(proxy): router_settings.fallback_on_saturation walks key and team fallbacks before a model saturates, replacing team model_preferences (#51439) 2026-11-13 05:57:18 +00:00
test_rbac_utils.py
test_realtime_cache.py
test_registry_read_through.py
test_request_tag_mappings.py fix(proxy): run baggage tag mappings and budget checks on /queue/chat/completions (#51753) 2026-11-14 08:54:54 -05:00
test_reset_budget_job.py fix(budgets): match window starts to stored millisecond precision (#51921) 2026-11-16 04:02:44 +08:00
test_resource_ownership.py
test_scheduled_job_stagger.py
test_semantic_text_index.py
test_slow_gc_logger.py
test_sse_keepalive.py
test_static_asset_utils.py
test_swagger_utils.py
test_timezone_utils.py
test_token_count_log.py
test_token_count_settings.py
test_upsert_budget_membership.py
test_user_api_key_cache.py perf(auth): reuse validated models on UserApiKeyCache memory hits (#51912) 2026-11-15 15:39:44 -08:00
test_validation_error_body.py