Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
chatbot_canifa_test_conservation_tools
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vũ Hoàng Anh
chatbot_canifa_test_conservation_tools
Commits
56268101
Commit
56268101
authored
Feb 11, 2026
by
Vũ Hoàng Anh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: langfuse v3 import path (langfuse.decorators langfuse)
parent
fcde7076
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
data_retrieval_tool.py
backend/agent/tools/data_retrieval_tool.py
+2
-2
product_search_helpers.py
backend/agent/tools/product_search_helpers.py
+1
-1
No files found.
backend/agent/tools/data_retrieval_tool.py
View file @
56268101
...
...
@@ -8,7 +8,7 @@ import json
import
logging
import
time
from
langfuse
.decorators
import
observe
from
langfuse
import
observe
from
langchain_core.tools
import
tool
from
pydantic
import
BaseModel
,
Field
...
...
@@ -159,7 +159,7 @@ async def _execute_single_search(
(
first_p
.
get
(
"description_text"
)
or
""
)[:
100
],
)
from
langfuse
.decorators
import
langfuse_context
from
langfuse
import
langfuse_context
langfuse_context
.
update_current_observation
(
input
=
{
"description"
:
item
.
description
[:
200
]
if
item
.
description
else
None
,
...
...
backend/agent/tools/product_search_helpers.py
View file @
56268101
...
...
@@ -2,7 +2,7 @@ import logging
import
os
import
time
from
langfuse
.decorators
import
observe
from
langfuse
import
observe
from
common.embedding_service
import
create_embedding_async
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment