[PR #20072] [MERGED] fix: consolidate psql cleanup logic and fix web add with cleanup #48500

Closed
opened 2026-04-30 00:28:02 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/20072
Author: @Classic298
Created: 12/21/2025
Status: Merged
Merged: 12/21/2025
Merged by: @tjbck

Base: devHead: psql


📝 Commits (7)

📊 Changes

3 files changed (+33 additions, -15 deletions)

View changed files

📝 backend/open_webui/models/chats.py (+5 -14)
📝 backend/open_webui/routers/retrieval.py (+2 -1)
📝 backend/open_webui/utils/misc.py (+26 -0)

📄 Description

Description

Fixes: #19867

Contributor License Agreement

By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.

Note

Deleting the CLA section will lead to immediate closure of your PR and it will not be merged in.


🔄 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/20072 **Author:** [@Classic298](https://github.com/Classic298) **Created:** 12/21/2025 **Status:** ✅ Merged **Merged:** 12/21/2025 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `dev` ← **Head:** `psql` --- ### 📝 Commits (7) - [`08ddf0d`](https://github.com/open-webui/open-webui/commit/08ddf0d606a75e1747fa23845b05fae6e678bdeb) sequential - [`d11de16`](https://github.com/open-webui/open-webui/commit/d11de164d28813ded7fa677b1e036df85deb0fe6) Merge branch 'open-webui:dev' into dev - [`5a065bc`](https://github.com/open-webui/open-webui/commit/5a065bc03d61d946f777a3ce1f61475d54c4ecc4) consolidate logic and fix for web add - [`69d3b8c`](https://github.com/open-webui/open-webui/commit/69d3b8cb8cc6b9c224d9cae85dff527ca6567ba5) Update WebSearch.svelte - [`6ceb70c`](https://github.com/open-webui/open-webui/commit/6ceb70c38a8f7d0e0bbdccb7007cb4b4215c4aea) Update retrieval.py - [`789a3f6`](https://github.com/open-webui/open-webui/commit/789a3f6cb5a9149d38dd18eaef9ef1b31cd8ef84) Update retrieval.py - [`aa2f830`](https://github.com/open-webui/open-webui/commit/aa2f830e6edf177c33275c00e488bed4be95a165) Update WebSearch.svelte ### 📊 Changes **3 files changed** (+33 additions, -15 deletions) <details> <summary>View changed files</summary> 📝 `backend/open_webui/models/chats.py` (+5 -14) 📝 `backend/open_webui/routers/retrieval.py` (+2 -1) 📝 `backend/open_webui/utils/misc.py` (+26 -0) </details> ### 📄 Description ### Description Fixes: #19867 - Consolidates the cleanup logic into reusable functions - Will parse text into utf-8 to also sanitize other characters reported in some other issues like #18201 and #15616 ### Contributor License Agreement By submitting this pull request, I confirm that I have read and fully agree to the [Contributor License Agreement (CLA)](https://github.com/open-webui/open-webui/blob/main/CONTRIBUTOR_LICENSE_AGREEMENT), and I am providing my contributions under its terms. > [!NOTE] > Deleting the CLA section will lead to immediate closure of your PR and it will not be merged in. --- <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 2026-04-30 00:28:02 -05: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#48500