Timothy Jaeryang Baek 11 bulan lalu
induk
melakukan
e3e7eb96f6
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  1. 1 0
      backend/open_webui/utils/middleware.py

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

@@ -975,6 +975,7 @@ async def process_chat_response(
 
                 messages.append(
                     {
+                        **message,
                         "role": message["role"],
                         "content": content,
                     }