mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-11 00:13:40 -05:00
[PR #9631] [MERGED] Refactor common code between inlet and outlet #9195
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/open-webui/pull/9631
Author: @XingjianXie
Created: 2/8/2025
Status: ✅ Merged
Merged: 2/8/2025
Merged by: @tjbck
Base:
dev← Head:remove_inlet_outlet_duplication📝 Commits (2)
89669a2Refactor common code between inlet and outlet3dde2f6refac📊 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.