[PR #407] [MERGED] Fix issue with chat_id handling #408

Closed
opened 2026-02-15 20:15:27 -05:00 by yindo · 0 comments
Owner

📋 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: mainHead: my_correction


📝 Commits (1)

  • d8020ad Fix 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.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/pipelines/pull/407 **Author:** [@veleinfobip](https://github.com/veleinfobip) **Created:** 1/29/2025 **Status:** ✅ Merged **Merged:** 2/14/2025 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `main` ← **Head:** `my_correction` --- ### 📝 Commits (1) - [`d8020ad`](https://github.com/open-webui/pipelines/commit/d8020ad304fdd5c967dd48816c07a8b04eb490a2) Fix issue with chat_id handling ### 📊 Changes **1 file changed** (+15 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `examples/filters/langfuse_filter_pipeline.py` (+15 -8) </details> ### 📄 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 20:15:27 -05:00
yindo closed this issue 2026-02-15 20:15:27 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: open-webui/pipelines#408