From 8edfd29102e0a61777b23d3575eaa30be37b59a5 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Tue, 16 Sep 2025 15:26:08 -0500 Subject: [PATCH] refac --- backend/open_webui/functions.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/open_webui/functions.py b/backend/open_webui/functions.py index 2115cece30..e9a5832913 100644 --- a/backend/open_webui/functions.py +++ b/backend/open_webui/functions.py @@ -72,6 +72,8 @@ def get_function_module_by_id(request: Request, pipe_id: str): except Exception as e: log.exception(f"Error loading valves for function {pipe_id}: {e}") raise e + else: + function_module.valves = Valves() return function_module