From 3ee1ae8c95fc7e3e21418c0549bec9bce5d482f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=98=9F=E6=B5=B7?= <62863922+xinhai-ai@users.noreply.github.com> Date: Wed, 5 Mar 2025 13:05:14 +0800 Subject: [PATCH] refac: filters --- backend/open_webui/utils/filter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/open_webui/utils/filter.py b/backend/open_webui/utils/filter.py index 5df734364..8a7b26773 100644 --- a/backend/open_webui/utils/filter.py +++ b/backend/open_webui/utils/filter.py @@ -52,7 +52,7 @@ async def process_filter_functions( # Prepare handler function handler = getattr(function_module, filter_type, None) if not handler: - continue + continue # Check if the function has a file_handler variable if filter_type == "inlet" and hasattr(function_module, "file_handler"):