mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[PR #24213] fix: handle file-only chat messages with full context #50554
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/24213
Author: @ShrootBuck
Created: 4/29/2026
Status: 🔄 Open
Base:
dev← Head:main📝 Commits (1)
1d83c9bTreat file-only uploads as full context📊 Changes
1 file changed (+19 additions, -7 deletions)
View changed files
📝
backend/open_webui/utils/middleware.py(+19 -7)📄 Description
Pull Request Checklist
Before submitting, make sure you've checked the following:
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.Changelog Entry
Description
Added
Changed
Deprecated
Removed
Fixed
Security
Breaking Changes
Additional Information
Testing
Manual reproduction before the fix:
Expected behavior after the fix:
Screenshots or Videos
Contributor License Agreement
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.