From 49112b218bcf997966e9c713d764de3c610987c2 Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Thu, 30 Jul 2026 05:26:29 +0000 Subject: [PATCH] chore(otel): drop added inline comments --- litellm/integrations/otel/mappers/__init__.py | 4 +--- .../integrations/otel/test_otel_v2_sources_of_truth.py | 1 - 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/litellm/integrations/otel/mappers/__init__.py b/litellm/integrations/otel/mappers/__init__.py index 960303f7d24..935f00192ad 100644 --- a/litellm/integrations/otel/mappers/__init__.py +++ b/litellm/integrations/otel/mappers/__init__.py @@ -21,9 +21,7 @@ from litellm.integrations.otel.mappers.openinference import OpenInferenceMapper from litellm.integrations.otel.mappers.weave import WeaveMapper from litellm.integrations.otel.model.config import OpenTelemetryV2Config -# Registry keyed by ``config.mapper_names`` entries. Every factory takes the -# config so a vocabulary that has operator-configurable behaviour (the Langfuse -# metadata allowlist) reads it from the same source of truth as the rest. +# Registry keyed by ``config.mapper_names`` entries. _MAPPER_BY_NAME: dict[str, Callable[[OpenTelemetryV2Config | None], AttributeMapper]] = { "genai": lambda _config: GenAIMapper(), "legacy": lambda _config: LegacyMapper(), diff --git a/tests/test_litellm/integrations/otel/test_otel_v2_sources_of_truth.py b/tests/test_litellm/integrations/otel/test_otel_v2_sources_of_truth.py index 987eb01c4f6..e13a05142cf 100644 --- a/tests/test_litellm/integrations/otel/test_otel_v2_sources_of_truth.py +++ b/tests/test_litellm/integrations/otel/test_otel_v2_sources_of_truth.py @@ -570,7 +570,6 @@ def test_request_annotations_parse_caller_trace_controls(): assert annotations.session_id == "session-1" assert annotations.trace_name == "chat-request" assert annotations.tags == ("test", "user_agent:curl") - # scalars only: the ``tags`` list is not a span-safe value here assert annotations.requester_metadata == { "trace_user_id": "user-1", "session_id": "session-1",