mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[GH-ISSUE #17202] issue: Document Upload to chat allows empty prompts, which causes Error #18205
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?
Originally created by @davidlarrimore on GitHub (Sep 4, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/17202
Check Existing Issues
Installation Method
Git Clone
Open WebUI Version
V.0.6.26
Ollama Version (if applicable)
N/A
Operating System
Docker/Windows 10/Mac Sequoia (Reproducable on all)
Browser (if applicable)
Chrome/Edge
Confirmation
README.md.Expected Behavior
If the system requires a not null/empty prompt, uploading a file should not allow users to submit the prompt. Alternatively, some placeholder text should be submitted along with the file to allow for a successful LLM call.
Actual Behavior
After uploading a document to the chat, you are able to submit the prompt, even if it is empty. If you submit that empty prompty, it causes a validation error.
Steps to Reproduce
Logs & Screenshots
Additional Information
No response
@rgaricano commented on GitHub (Sep 4, 2025):
This seem an AWS Bedrock API validation issue, that not happen with all providers.
@davidlarrimore commented on GitHub (Sep 4, 2025):
I switched to a local ollama model and confirmed it only happens with Bedrock models! I was able to confirm this bug with the Bedrock Access Gateway. Thank you so much for the quick response!
@Clausinho commented on GitHub (Jan 23, 2026):
Is there a fix for this? forcing a prompt, even if its empty by the user? From ChatGPT I am used that the model understands that I put these images as context for the conversation. It also "destroys" any further chat in this conversation, as there is one empty response which then gets always blocked by bedrock. @davidlarrimore @rgaricano
@Classic298 commented on GitHub (Jan 23, 2026):
Build a Filter that puts a user message if user forgot to write a message