mirror of
https://github.com/open-webui/open-webui
synced 2025-05-19 12:51:35 +00:00
refac
This commit is contained in:
parent
6399aaf4b2
commit
9adc1ebcc8
@ -106,6 +106,7 @@ async def process_filter_functions(
|
|||||||
|
|
||||||
# Handle file cleanup for inlet
|
# Handle file cleanup for inlet
|
||||||
if skip_files and "files" in form_data.get("metadata", {}):
|
if skip_files and "files" in form_data.get("metadata", {}):
|
||||||
|
del form_data["files"]
|
||||||
del form_data["metadata"]["files"]
|
del form_data["metadata"]["files"]
|
||||||
|
|
||||||
return form_data, {}
|
return form_data, {}
|
||||||
|
Loading…
Reference in New Issue
Block a user