mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 03:18:23 -05:00
[GH-ISSUE #19409] issue: No connection adapters were found when generating image #34394
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 @emc2314 on GitHub (Nov 24, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/19409
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.6.37
Ollama Version (if applicable)
No response
Operating System
Debian 12
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
Generate image successfully with custom base URL served by LiteLLM.
Actual Behavior
[ERROR: No connection adapters were found for "('http://litellm-dev:8000/v1/images/generations',)"]
Steps to Reproduce
Just use docker with litellm gemini models using openai API.
fc05e0a6c5/backend/open_webui/routers/images.py (L552-L554)Why there is a comma after the string? Removing the comma fixes the problem.
Logs & Screenshots
{
"model": "gemini-2.5-flash",
"stream": true,
"messages": [
{
"role": "system",
"content": "Image generation was attempted but failed. The system is currently unable to generate the image. Tell the user that an error occurred: [ERROR: No connection adapters were found for "('http://litellm-dev:8000/v1/images/generations',)"]"
},
{
"role": "user",
"content": "Draw me a penguin"
}
]
}
Additional Information
No response
@Classic298 commented on GitHub (Nov 24, 2025):
gemini 2.5 flash is not an image model