Timothy Jaeryang Baek 3 mesiacov pred
rodič
commit
14e650077a
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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"},
                 }
             )