Please review the changes carefully. The fix was verified against the existing test suite.
This PR was created with the assistance of Claude Sonnet 4.6 by Anthropic | effort: low. Happy to make any adjustments!
🔄 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/21695
**Author:** [@danielalanbates](https://github.com/danielalanbates)
**Created:** 2/21/2026
**Status:** ❌ Closed
**Base:** `main` ← **Head:** `fix/issue-21564`
---
### 📝 Commits (1)
- [`e1ed360`](https://github.com/open-webui/open-webui/commit/e1ed36021346956441b9336bedcde1da857176e3) Fix #21564: include existing assistant content when loading DB messages for continue response
### 📊 Changes
**1 file changed** (+13 additions, -1 deletions)
<details>
<summary>View changed files</summary>
📝 `backend/open_webui/utils/middleware.py` (+13 -1)
</details>
### 📄 Description
Fixes #21564
## Summary
This PR fixes: issue: "Edit" and "Continue Response" don't work properly
## Changes
```
backend/open_webui/utils/middleware.py | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
```
## Testing
Please review the changes carefully. The fix was verified against the existing test suite.
---
*This PR was created with the assistance of Claude Sonnet 4.6 by Anthropic | effort: low. Happy to make any adjustments!*
---
<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/21695
Author: @danielalanbates
Created: 2/21/2026
Status: ❌ Closed
Base:
main← Head:fix/issue-21564📝 Commits (1)
e1ed360Fix #21564: include existing assistant content when loading DB messages for continue response📊 Changes
1 file changed (+13 additions, -1 deletions)
View changed files
📝
backend/open_webui/utils/middleware.py(+13 -1)📄 Description
Fixes #21564
Summary
This PR fixes: issue: "Edit" and "Continue Response" don't work properly
Changes
Testing
Please review the changes carefully. The fix was verified against the existing test suite.
This PR was created with the assistance of Claude Sonnet 4.6 by Anthropic | effort: low. Happy to make any adjustments!
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.