mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 03:47:49 +01:00
refac
This commit is contained in:
@@ -534,7 +534,6 @@ async def chat_image_generation_handler(
|
|||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
for image in images:
|
|
||||||
await __event_emitter__(
|
await __event_emitter__(
|
||||||
{
|
{
|
||||||
"type": "files",
|
"type": "files",
|
||||||
@@ -544,6 +543,7 @@ async def chat_image_generation_handler(
|
|||||||
"type": "image",
|
"type": "image",
|
||||||
"url": image["url"],
|
"url": image["url"],
|
||||||
}
|
}
|
||||||
|
for image in images
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user