mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 04:45:19 +00:00
refac
This commit is contained in:
parent
f0bd74b75b
commit
71f99228ef
1 changed files with 1 additions and 1 deletions
|
|
@ -67,7 +67,7 @@ def get_function_module_by_id(request: Request, pipe_id: str):
|
|||
if valves:
|
||||
try:
|
||||
function_module.valves = Valves(
|
||||
**({k: v for k, v in valves if v is not None})
|
||||
**{k: v for k, v in valves if v is not None}
|
||||
)
|
||||
except Exception as e:
|
||||
log.exception(f"Error loading valves for function {pipe_id}: {e}")
|
||||
|
|
|
|||
Loading…
Reference in a new issue