mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-11 20:05:19 +00:00
fix: "No connection adapters were found" routers/images.py (#19435)
This commit is contained in:
parent
e567f42020
commit
a7b611c0e5
1 changed files with 1 additions and 3 deletions
|
|
@ -549,9 +549,7 @@ async def image_generations(
|
|||
if ENABLE_FORWARD_USER_INFO_HEADERS:
|
||||
headers = include_user_info_headers(headers, user)
|
||||
|
||||
url = (
|
||||
f"{request.app.state.config.IMAGES_OPENAI_API_BASE_URL}/images/generations",
|
||||
)
|
||||
url = f"{request.app.state.config.IMAGES_OPENAI_API_BASE_URL}/images/generations"
|
||||
if request.app.state.config.IMAGES_OPENAI_API_VERSION:
|
||||
url = f"{url}?api-version={request.app.state.config.IMAGES_OPENAI_API_VERSION}"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue