diff --git a/backend/open_webui/utils/middleware.py b/backend/open_webui/utils/middleware.py index f6582bf23..ae0d0c754 100644 --- a/backend/open_webui/utils/middleware.py +++ b/backend/open_webui/utils/middleware.py @@ -3746,7 +3746,7 @@ async def streaming_chat_response_handler(response, ctx): } ] - data = {'content': serialize_output(output)} + data = {'content': serialize_output(full_output())} if value: if (