[PR #8147] [CLOSED] feat: add background saving for chat messages #8962

Closed
opened 2025-11-11 18:10:39 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/8147
Author: @cr-zhichen
Created: 12/27/2024
Status: Closed

Base: devHead: dev


📝 Commits (1)

  • 9d69579 feat: add background saving for chat messages

📊 Changes

1 file changed (+36 additions, -9 deletions)

View changed files

📝 backend/open_webui/utils/middleware.py (+36 -9)

📄 Description

In middleware.py, a background database saving functionality has been added to address the issue discussed in #8088, where the output speed decreases due to database latency.


🔄 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/8147 **Author:** [@cr-zhichen](https://github.com/cr-zhichen) **Created:** 12/27/2024 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `dev` --- ### 📝 Commits (1) - [`9d69579`](https://github.com/open-webui/open-webui/commit/9d69579599b7ecc842feb317ae9a64520d78153e) feat: add background saving for chat messages ### 📊 Changes **1 file changed** (+36 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `backend/open_webui/utils/middleware.py` (+36 -9) </details> ### 📄 Description In `middleware.py`, a background database saving functionality has been added to address the issue discussed in #8088, where the output speed decreases due to database latency. --- <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:10:39 -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#8962