Skip to content

fix: upgrade Langfuse SDK examples to latest version#649

Draft
jannikmaierhoefer wants to merge 1 commit intohuggingface:mainfrom
jannikmaierhoefer:fix/upgrade-langfuse-sdk-v4
Draft

fix: upgrade Langfuse SDK examples to latest version#649
jannikmaierhoefer wants to merge 1 commit intohuggingface:mainfrom
jannikmaierhoefer:fix/upgrade-langfuse-sdk-v4

Conversation

@jannikmaierhoefer
Copy link
Contributor

...

- Replace langfuse.start_as_current_span() with langfuse.start_as_current_observation()
- Replace span.update_trace() with propagate_attributes() + span.update()

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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