diff --git a/backend/open_webui/utils/middleware.py b/backend/open_webui/utils/middleware.py index d97baf92e..88c6fde14 100644 --- a/backend/open_webui/utils/middleware.py +++ b/backend/open_webui/utils/middleware.py @@ -1558,7 +1558,7 @@ async def process_chat_response( value = delta.get("content") - reasoning_content = delta.get("reasoning_content") + reasoning_content = delta.get("reasoning_content") or delta.get("reasoning") if reasoning_content: if ( not content_blocks