mirror of
https://github.com/open-webui/pipelines.git
synced 2026-07-20 15:38:19 -04:00
[PR #407] [MERGED] Fix issue with chat_id handling #408
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/407
Author: @veleinfobip
Created: 1/29/2025
Status: ✅ Merged
Merged: 2/14/2025
Merged by: @tjbck
Base:
main← Head:my_correction📝 Commits (1)
d8020adFix issue with chat_id handling📊 Changes
1 file changed (+15 additions, -8 deletions)
View changed files
📝
examples/filters/langfuse_filter_pipeline.py(+15 -8)📄 Description
The inlet function has been updated to read the chat_id from the metadata dictionary in the incoming request body. If the chat_id is not present, a new unique ID is generated and assigned to metadata["chat_id"]. This change ensures that the chat_id is managed consistently, improving traceability and functionality of chat interactions. The implementation has been thoroughly tested and is confirmed to be working correctly.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.