Timothy Jaeryang Baek 2 months ago
parent
commit
d8c76e9a0c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      backend/open_webui/main.py

+ 1 - 1
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 = {