mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-17 07:46:16 -05:00
[PR #24968] [CLOSED] fix: avoid empty prompt for skill-only messages #131619
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/24968
Author: @pragnyanramtha
Created: 5/20/2026
Status: ❌ Closed
Base:
dev← Head:pragnyan/fix-empty-skill-only-message-24929📝 Commits (1)
01e2ef4fix: avoid empty prompt for skill-only messages📊 Changes
1 file changed (+35 additions, -15 deletions)
View changed files
📝
backend/open_webui/utils/middleware.py(+35 -15)📄 Description
Summary
Closes #24929.
Validation
python3 -m py_compile backend/open_webui/utils/middleware.pyuvx ruff format --check backend/open_webui/utils/middleware.pygit diff --check🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.