[PR #9631] [MERGED] Refactor common code between inlet and outlet #9195

Closed
opened 2025-11-11 18:16:26 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/9631
Author: @XingjianXie
Created: 2/8/2025
Status: Merged
Merged: 2/8/2025
Merged by: @tjbck

Base: devHead: remove_inlet_outlet_duplication


📝 Commits (2)

📊 Changes

3 files changed (+154 additions, -208 deletions)

View changed files

📝 backend/open_webui/utils/chat.py (+34 -109)
backend/open_webui/utils/filter.py (+97 -0)
📝 backend/open_webui/utils/middleware.py (+23 -99)

📄 Description

#9617 (refactoring part)


🔄 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/open-webui/pull/9631 **Author:** [@XingjianXie](https://github.com/XingjianXie) **Created:** 2/8/2025 **Status:** ✅ Merged **Merged:** 2/8/2025 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `dev` ← **Head:** `remove_inlet_outlet_duplication` --- ### 📝 Commits (2) - [`89669a2`](https://github.com/open-webui/open-webui/commit/89669a21fc4859e1a5dfb30778a7e3ce3791d0aa) Refactor common code between inlet and outlet - [`3dde2f6`](https://github.com/open-webui/open-webui/commit/3dde2f67cfaa938b9b25cf549deb9249793835d8) refac ### 📊 Changes **3 files changed** (+154 additions, -208 deletions) <details> <summary>View changed files</summary> 📝 `backend/open_webui/utils/chat.py` (+34 -109) ➕ `backend/open_webui/utils/filter.py` (+97 -0) 📝 `backend/open_webui/utils/middleware.py` (+23 -99) </details> ### 📄 Description #9617 (refactoring part) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-11 18:16:26 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#9195