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 python 3 install / usage
Ishaan Jaff447cf5511ddd
diff --git a/litellm/integrations/langfuse/langfuse.py b/litellm/integrations/langfuse/langfuse.pyindex 9fb2f86f683..13236b210f9 100644--- a/litellm/integrations/langfuse/langfuse.py+++ b/litellm/integrations/langfuse/langfuse.py@@ -5,7 +5,7 @@ import jsonimport osimport tracebackfrom collections.abc import MutableMapping, MutableSequence, MutableSet-from typing import TYPE_CHECKING, Any, Dict, Optional, cast+from typing import TYPE_CHECKING, Any, Dict, List, Optional, castfrom packaging.version import Versionfrom pydantic import BaseModel@@ -734,7 +734,7 @@ class LangFuseLogger:return None, None@staticmethod- def _get_langfuse_tags(metadata: dict) -> list[str]:+ def _get_langfuse_tags(metadata: dict) -> List[str]:try:return json.loads(metadata.pop("tags", "[]"))except Exception as e: