mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 03:18:23 -05:00
[GH-ISSUE #22880] issue: Models like Gemini and Claude fail when a message contains only file/image attachment without text #35361
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 @ShirasawaSama on GitHub (Mar 20, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/22880
Check Existing Issues
Installation Method
Git Clone
Open WebUI Version
v0.8.10
Ollama Version (if applicable)
No response
Operating System
MacOS 26
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
The UI should prevent sending in this case (or auto-insert a minimal text prompt), so users don’t hit model errors.
Actual Behavior
The request fails (or the model returns an error), because content contains only attachment(s) with no text.
Steps to Reproduce
Logs & Screenshots
Additional Information
Can refer to the code below:
@ShirasawaSama commented on GitHub (Mar 20, 2026):
@Classic298 Could you please mark the message from the person who posted that reply as spam?
@tjbck commented on GitHub (Mar 22, 2026):
Addressed in dev.