From 611955bc91b04133c5c788964d2542ce11c60632 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Thu, 26 Dec 2024 20:38:27 -0800 Subject: [PATCH] refac --- backend/open_webui/utils/middleware.py | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/open_webui/utils/middleware.py b/backend/open_webui/utils/middleware.py index e65ff6a5b..76a2a0976 100644 --- a/backend/open_webui/utils/middleware.py +++ b/backend/open_webui/utils/middleware.py @@ -1056,4 +1056,5 @@ async def process_chat_response( return StreamingResponse( stream_wrapper(response.body_iterator, events), headers=dict(response.headers), + background=response.background, )