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>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/8147
Author: @cr-zhichen
Created: 12/27/2024
Status: ❌ Closed
Base:
dev← Head:dev📝 Commits (1)
9d69579feat: 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.