From d8c76e9a0cd2b2dfd38298a08af2c7d3b8ce2560 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Sun, 10 Aug 2025 01:31:07 +0400 Subject: [PATCH] refac --- backend/open_webui/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/open_webui/main.py b/backend/open_webui/main.py index 86e6e4d451..bf85978874 100644 --- a/backend/open_webui/main.py +++ b/backend/open_webui/main.py @@ -1411,7 +1411,7 @@ async def chat_completion( ) # Model Params - if not stream_delta_chunk_size and model_info_params: + if model_info_params.get("stream_delta_chunk_size"): stream_delta_chunk_size = model_info_params.get("stream_delta_chunk_size") metadata = {