mirror of
https://github.com/open-webui/open-webui
synced 2024-11-22 08:07:55 +00:00
commit
2fc8fa1869
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user