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
style: black format health_check.py
Ishaan Jaffer0acd05207b81
diff --git a/litellm/proxy/health_check.py b/litellm/proxy/health_check.pyindex 5377ff6c320..1518ed66ab1 100644--- a/litellm/proxy/health_check.py+++ b/litellm/proxy/health_check.py@@ -246,7 +246,9 @@ async def _perform_health_check(cleaned["model_id"] = _model_idif isinstance(is_healthy, Exception):exceptions_by_model_id[_model_id] = is_healthy- cleaned["exception_status"] = getattr(is_healthy, "status_code", 500)+ cleaned["exception_status"] = getattr(+ is_healthy, "status_code", 500+ )unhealthy_endpoints.append(cleaned)return healthy_endpoints, unhealthy_endpoints, exceptions_by_model_id