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