mirror of
https://github.com/open-webui/pipelines.git
synced 2026-07-21 01:55:22 -04:00
Getting error when running Langfuse filter ("'Langfuse' object has no attribute 'trace'") #246
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jslevacque on GitHub (Jul 9, 2025).
Hello,
Since this week, Langfuse has been updated to version 3.
When I was running the filter function from https://github.com/open-webui/pipelines/blob/main/examples/filters/langfuse_filter_pipeline.py in my open webui I've got error:
To solve the problem I suggest to fix the langfuse version in the script as instructed in the Langfuse doc: https://langfuse.com/docs/sdk/python/low-level-sdk
In the documentation:
In the langfuse filter script:
@zolgear commented on GitHub (Jul 15, 2025):
Confirmed that updating
langfuse_filter_pipeline.pyto 1.7.1 resolves the error.https://github.com/open-webui/pipelines/blob/main/examples/filters/langfuse_filter_pipeline.py
I think this issue can be closed.