chore(otel): drop added inline comments

This commit is contained in:
Devin AI 2026-07-30 05:26:29 +00:00
parent 60194646fc
commit 49112b218b
2 changed files with 1 additions and 4 deletions

View file

@ -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(),

View file

@ -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",