mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 04:45:19 +00:00
refac: filters
This commit is contained in:
parent
8ce6c8cf78
commit
3ee1ae8c95
1 changed files with 1 additions and 1 deletions
|
|
@ -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"):
|
||||
|
|
|
|||
Loading…
Reference in a new issue