diff --git a/backend/open_webui/utils/filter.py b/backend/open_webui/utils/filter.py index 0edc2ac70..2bafe720b 100644 --- a/backend/open_webui/utils/filter.py +++ b/backend/open_webui/utils/filter.py @@ -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, {}