mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-16 06:03:26 -05:00
[GH-ISSUE #14419] issue: Image creation fails in 0.6.11 #104241
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 @dyioulos on GitHub (May 27, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/14419
Check Existing Issues
Installation Method
Pip Install
Open WebUI Version
0.6.11
Ollama Version (if applicable)
0.7.0
Operating System
RHEL 9.5
Browser (if applicable)
Chrome and Firefox
Confirmation
README.md.Expected Behavior
An image is created when the image button, and an appropriate LLM, are selected.
Actual Behavior
No image is created when the image button, and an appropriate LLM, are selected. Instead, an error is generated in th ui.
Steps to Reproduce
Logs & Screenshots
With Open-Webui version 0.6.10, images are created just fine With version 0.6.11, while ComyUI appears to create the image I request, I get the following error:
An error occurred while generating an image
Enhanced Prompt
Unable to generate an image, tell the user that an error occurred
Chrome console log:
2MessageInput.svelte:408 Uncaught ReferenceError: selectedChatId is not defined
at be (MessageInput.svelte:408:3)Understand this error
Chat.svelte:195 saveSessionSelectedModels Array(1) ["llava:7b"]
Chat.svelte:195 saveSessionSelectedModels Array(1) ["llava:7b"]
MessageInput.svelte:408 Uncaught ReferenceError: selectedChatId is not defined
at be (MessageInput.svelte:408:3)
Additional Information
ComfyUI version: 0.3.36
LLM: llava:latest.
Docker version: NA (not using Docker)
@tkg61 commented on GitHub (May 28, 2025):
Can confirm. Getting errors like:
urllib.error.HTTPError: HTTP Error 400: Bad Request
2025-05-28 18:19:28.020 | ERROR | open_webui.utils.middleware:chat_image_generation_handler:570 - 400: [ERROR: 'NoneType' object is not subscriptable] - {}
Traceback (most recent call last):
File "/app/backend/open_webui/routers/images.py", line 605, in image_generations
for image in res["data"]:
└ None
TypeError: 'NoneType' object is not subscriptable
@tkg61 commented on GitHub (May 30, 2025):
Still happening in 0.6.13 just in case that wasn't expected