Skip to content

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]

fix test_traceparent_not_added_by_default

Ishaan Jaffc2f25167fe3a
diff --git a/litellm/tests/test_proxy_utils.py b/litellm/tests/test_proxy_utils.py
index 30a1aac5cec..c8f6916e2c5 100644
--- a/litellm/tests/test_proxy_utils.py
+++ b/litellm/tests/test_proxy_utils.py
@@ -102,3 +102,5 @@ async def test_traceparent_not_added_by_default(endpoint, mock_request):
_extra_headers = data.get("extra_headers") or {}
assert "traceparent" not in _extra_headers
+
+ setattr(litellm.proxy.proxy_server, "open_telemetry_logger", None)