mirror of
https://github.com/open-webui/pipelines.git
synced 2026-07-21 10:05:26 -04:00
[PR #263] [MERGED] feat: track token usage in Langfuse (and fix memory leak) #357
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?
📋 Pull Request Information
Original PR: https://github.com/open-webui/pipelines/pull/263
Author: @marcklingen
Created: 9/18/2024
Status: ✅ Merged
Merged: 9/19/2024
Merged by: @tjbck
Base:
main← Head:feat/track-usage-langfuse📝 Commits (2)
77dc049feat: track token usage in Langfuse (and fix memory leak)234571ebump version📊 Changes
1 file changed (+18 additions, -5 deletions)
View changed files
📝
examples/filters/langfuse_filter_pipeline.py(+18 -5)📄 Description
I suggest to track token counts in Langfuse as they are captured by openwebui
cc @samuelpetermoshi who suggested this
thanks to @mardet for sharing his implementation with me privately
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.