소스 검색

Merge pull request #6274 from open-webui/main

dev
Timothy Jaeryang Baek 6 달 전
부모
커밋
2fc8fa1869
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      backend/open_webui/apps/webui/main.py

+ 1 - 1
backend/open_webui/apps/webui/main.py

@@ -337,7 +337,7 @@ async def generate_function_chat_completion(form_data, user):
     pipe = function_module.pipe
     params = get_function_params(function_module, form_data, user, extra_params)
 
-    if form_data["stream"]:
+    if form_data.get("stream", False):
 
         async def stream_content():
             try: