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 otel test
Ishaan Jaffb60361fca1e5
diff --git a/litellm/proxy/common_utils/callback_utils.py b/litellm/proxy/common_utils/callback_utils.pyindex 4d0fd23030f..2dd28c1f5fa 100644--- a/litellm/proxy/common_utils/callback_utils.py+++ b/litellm/proxy/common_utils/callback_utils.py@@ -35,7 +35,7 @@ def initialize_callbacks_on_proxy(from litellm.proxy import proxy_server_otel_settings = {}- if "otel" in callback_settings:+ if isinstance(callback_settings, dict) and "otel" in callback_settings:_otel_settings = callback_settings["otel"]open_telemetry_logger = OpenTelemetry(**_otel_settings)