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
async_health_check arize fix
Ishaan Jaffer5f78ea757cc0
diff --git a/litellm/integrations/arize/arize.py b/litellm/integrations/arize/arize.pyindex 6e0201bf5b7..a3563440ac9 100644--- a/litellm/integrations/arize/arize.py+++ b/litellm/integrations/arize/arize.py@@ -117,10 +117,14 @@ class ArizeLogger(OpenTelemetry):try:config = self.get_arize_config()- if not config.space_id or not config.space_key:+ # Prefer ARIZE_SPACE_KEY, but fall back to ARIZE_SPACE_ID for backwards compatibility+ effective_space_key = config.space_key or config.space_id++ if not effective_space_key:return {"status": "unhealthy",- "error_message": "ARIZE_SPACE_ID environment variable not set",+ # Tests (and users) expect the error message to reference ARIZE_SPACE_KEY+ "error_message": "ARIZE_SPACE_KEY environment variable not set",}if not config.api_key: