Timothy Jaeryang Baek 1 month ago
parent
commit
e3e7eb96f6
1 changed files with 1 additions and 0 deletions
  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,
                     }