diff --git a/backend/open_webui/utils/middleware.py b/backend/open_webui/utils/middleware.py index ccb459865..dc0a7638f 100644 --- a/backend/open_webui/utils/middleware.py +++ b/backend/open_webui/utils/middleware.py @@ -1560,7 +1560,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