Timothy Jaeryang Baek 3 주 전
부모
커밋
8edfd29102
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      backend/open_webui/functions.py

+ 2 - 0
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