The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
Merge remote-tracking branch 'origin/litellm_internal_staging' into litellm_fix_health_scoped_results_and_serialization
mateo-berrid5bd78831403
diff --cc tests/test_litellm/proxy/health_endpoints/test_health_endpoints.pyindex bbcae2fb68f,e9e58347337..022cf1e5505--- a/tests/test_litellm/proxy/health_endpoints/test_health_endpoints.py+++ b/tests/test_litellm/proxy/health_endpoints/test_health_endpoints.py@@@ -1,11 -1,9 +1,12 @@@import asyncio+import copyimport jsonimport time-from typing import Final+from collections.abc import Iterator, Mapping, Sequence+from contextlib import contextmanagerfrom datetime import datetime, timedeltafrom types import SimpleNamespace++from typing import Finalfrom unittest.mock import AsyncMock, MagicMock, patchimport httpx@@@ -18,9 -16,9 +19,10 @@@ from prisma.errors import ClientNotConnimport litellmimport litellm.proxy.health_endpoints._health_endpoints as _health_endpoints_modulefrom litellm.litellm_core_utils.health_check_helpers import TEST_IMAGE_BASE64+ from litellm.models.credentials import CredentialItemfrom litellm.proxy._types import LitellmUserRoles, ProxyException, UserAPIKeyAuthfrom litellm.proxy.auth.user_api_key_auth import user_api_key_auth+from litellm.router import Routerfrom litellm.proxy.health_endpoints._health_endpoints import (_db_health_readiness_check,_show_no_redis_warning,