Skip to content

fix: langfuse orphaned thread issue #17

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 13, 2025
Merged

Conversation

a-klos
Copy link
Member

@a-klos a-klos commented Jun 10, 2025

This pull request updates the langfuse library to version 3.0.0 across multiple files and refactors code to align with the new API changes. Additionally, it introduces improvements to tracing functionality in rag-core-lib by integrating langfuse's client and span-based tracing.

…imports

- Updated langfuse version in pyproject.toml and poetry.lock files.
- Modified import statements in langfuse_ragas_evaluator.py to reflect new package structure.
- Adjusted langfuse_manager.py to use labels instead of is_active for prompt management.
- Refactored langfuse_traced_chain.py to utilize the new CallbackHandler import.
- Enhanced traced_chain.py to initialize langfuse client and update tracing logic.
@a-klos a-klos marked this pull request as draft June 10, 2025 06:03
@a-klos a-klos marked this pull request as ready for review June 11, 2025 12:52
@a-klos a-klos requested a review from MirUlr June 11, 2025 13:21
Copy link
Collaborator

@huhn511 huhn511 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@a-klos a-klos merged commit f0666c7 into main Jun 13, 2025
6 checks passed
@a-klos a-klos deleted the fix/orophaned-threads-issue branch June 13, 2025 06:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants