Skip to content

Commit e79317a

Browse files
committed
fix: resolve incorrect import
1 parent 4c98a98 commit e79317a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/api/models/bedrock.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
import tiktoken
1515
from botocore.config import Config
1616
from fastapi import HTTPException
17-
from langfuse import observe, langfuse_context
17+
from langfuse.decorators import observe, langfuse_context
1818
from starlette.concurrency import run_in_threadpool
1919

2020
from api.models.base import BaseChatModel, BaseEmbeddingsModel

src/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ requests==2.32.4
77
numpy==2.2.5
88
boto3==1.40.4
99
botocore==1.40.4
10-
langfuse
10+
langfuse>=2.0.0

0 commit comments

Comments
 (0)