From 9adc1ebcc81d4921a79e98d39b143465808c47f8 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Tue, 11 Mar 2025 18:38:13 +0000 Subject: [PATCH] refac --- backend/open_webui/utils/filter.py | 1 + 1 file changed, 1 insertion(+) 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, {}