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 LangfuseOtelSpanAttributes constants to match expected values at https://python.reference.langfuse.com/langfuse#LangfuseOtelSpanAttributes (#13659)
William Finnigan99f30fe5b7df
diff --git a/litellm/types/integrations/langfuse_otel.py b/litellm/types/integrations/langfuse_otel.pyindex 37eac1f54a9..64fc036f45f 100644--- a/litellm/types/integrations/langfuse_otel.py+++ b/litellm/types/integrations/langfuse_otel.py@@ -25,8 +25,8 @@ class LangfuseSpanAttributes(str, Enum):MASK_OUTPUT = "langfuse.generation.mask_output"# ---- Trace-level metadata ----- TRACE_USER_ID = "langfuse.trace.user_id"- SESSION_ID = "langfuse.trace.session_id"+ TRACE_USER_ID = "user.id"+ SESSION_ID = "session.id"TAGS = "langfuse.trace.tags"TRACE_NAME = "langfuse.trace.name"TRACE_ID = "langfuse.trace.id"