Merge pull request #8776 from open-webui/dev

refac: image gen
This commit is contained in:
Timothy Jaeryang Baek 2025-01-22 12:49:53 -08:00 committed by GitHub
commit e3ae30e42f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -557,7 +557,7 @@ async def chat_image_generation_handler(
await __event_emitter__(
{
"type": "message",
"data": {"content": f"![Generated Image]({image['url']})"},
"data": {"content": f"![Generated Image]({image['url']})\n"},
}
)