mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 19:08:59 -05:00
[GH-ISSUE #14191] issue: Allowed File Extensions prevent images from being generated #32707
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 @kemnitzs on GitHub (May 22, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/14191
Check Existing Issues
Installation Method
Docker
Open WebUI Version
0.6.10
Ollama Version (if applicable)
0.7.0
Operating System
ubuntu 22.04
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
image gets generated
Actual Behavior
it fails with
An error occurred while generating an image
Steps to Reproduce
Logs & Screenshots
Additional Information
Image generation works like a charm with our own openai style image generation api, but as soon as
you set the file allowed file extensions to pdf only it stops to work.
interestingly adding png to the list does NOT resolve the problem.
@kemnitzs commented on GitHub (May 22, 2025):
ah found another thing.
in contrast to the example text for the allowed file extensions
putting
in the list solves the problem.
still i think it's a ux problem if one now has to set this manually.
@tjbck commented on GitHub (May 22, 2025):
Good catch, Both are addressed in dev.
7a593b63b2