mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 11:57:51 +01:00
refac
This commit is contained in:
@@ -72,6 +72,8 @@ def get_function_module_by_id(request: Request, pipe_id: str):
|
|||||||
except Exception as e:
|
except Exception as e:
|
||||||
log.exception(f"Error loading valves for function {pipe_id}: {e}")
|
log.exception(f"Error loading valves for function {pipe_id}: {e}")
|
||||||
raise e
|
raise e
|
||||||
|
else:
|
||||||
|
function_module.valves = Valves()
|
||||||
|
|
||||||
return function_module
|
return function_module
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user