Skip to content
This repository was archived by the owner on Jul 17, 2025. It is now read-only.

fix: langfuse orphaned thread issue#17

Merged
a-klos merged 3 commits into
mainfrom
fix/orophaned-threads-issue
Jun 13, 2025
Merged

fix: langfuse orphaned thread issue#17
a-klos merged 3 commits into
mainfrom
fix/orophaned-threads-issue

Conversation

@a-klos
Copy link
Copy Markdown
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
Copy Markdown
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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants