Merge pull request #6274 from open-webui/main

dev
This commit is contained in:
Timothy Jaeryang Baek 2024-10-18 21:33:54 -07:00 committed by GitHub
commit 2fc8fa1869
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -337,7 +337,7 @@ async def generate_function_chat_completion(form_data, user):
pipe = function_module.pipe pipe = function_module.pipe
params = get_function_params(function_module, form_data, user, extra_params) 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(): async def stream_content():
try: try: