Timothy Jaeryang Baek 3 months ago
parent
commit
14e650077a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      backend/open_webui/utils/middleware.py

+ 1 - 1
backend/open_webui/utils/middleware.py

@@ -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"},
                 }
             )