mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 04:15:25 +00:00
refac
This commit is contained in:
parent
91523bbb07
commit
e4c7417522
1 changed files with 14 additions and 14 deletions
|
|
@ -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
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue