mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[PR #21483] [CLOSED] Fix: preserve image inputs when loading DB history #64954
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/21483
Author: @EheinWang
Created: 2/16/2026
Status: ❌ Closed
Base:
main← Head:main📝 Commits (1)
7fc343cfix(chat): preserve image inputs when loading DB history📊 Changes
1 file changed (+46 additions, -0 deletions)
View changed files
📝
backend/open_webui/utils/middleware.py(+46 -0)📄 Description
Pull Request Checklist
devbranch. PRs targetingmainwill be immediately closed.devto ensure no unrelated commits (e.g. frommain) are included. Push updates to the existing PR branch instead of closing and reopening.fixChangelog Entry
Description
image_urlcontent.Added
Changed
Deprecated
Removed
Fixed
Security
Breaking Changes
Additional Information
filesand loses image content.Screenshots or Videos
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.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.