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
fix arize config
Ishaan Jaffbd122f631e85
diff --git a/litellm/integrations/arize/arize.py b/litellm/integrations/arize/arize.pyindex 768f8a655dd..1a1b8f99790 100644--- a/litellm/integrations/arize/arize.py+++ b/litellm/integrations/arize/arize.py@@ -51,11 +51,6 @@ class ArizeLogger(OpenTelemetry):space_key = os.environ.get("ARIZE_SPACE_KEY")api_key = os.environ.get("ARIZE_API_KEY")- if not space_key:- raise ValueError("ARIZE_SPACE_KEY not found in environment variables")- if not api_key:- raise ValueError("ARIZE_API_KEY not found in environment variables")-grpc_endpoint = os.environ.get("ARIZE_ENDPOINT")http_endpoint = os.environ.get("ARIZE_HTTP_ENDPOINT")diff --git a/litellm/types/integrations/arize.py b/litellm/types/integrations/arize.pyindex 24298fc3636..e1ec1755f82 100644--- a/litellm/types/integrations/arize.py+++ b/litellm/types/integrations/arize.py@@ -1,4 +1,4 @@-from typing import TYPE_CHECKING, Literal, Any+from typing import TYPE_CHECKING, Any, Literal, Optionalfrom pydantic import BaseModel@@ -6,9 +6,10 @@ if TYPE_CHECKING:Protocol = Literal["otlp_grpc", "otlp_http"]else:Protocol = Any-++class ArizeConfig(BaseModel):- space_key: str- api_key: str+ space_key: Optional[str] = None+ api_key: Optional[str] = Noneprotocol: Protocolendpoint: str