mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-12 23:01:41 +00:00
fix python 3 install / usage
This commit is contained in:
parent
ac7dc42794
commit
447cf5511d
1 changed files with 2 additions and 2 deletions
|
|
@ -5,7 +5,7 @@ import json
|
|||
import os
|
||||
import traceback
|
||||
from collections.abc import MutableMapping, MutableSequence, MutableSet
|
||||
from typing import TYPE_CHECKING, Any, Dict, Optional, cast
|
||||
from typing import TYPE_CHECKING, Any, Dict, List, Optional, cast
|
||||
|
||||
from packaging.version import Version
|
||||
from 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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue