瀏覽代碼

fix: unbound variable in tool node

Yeuoly 7 月之前
父節點
當前提交
c377eb8c28
共有 2 個文件被更改,包括 19871 次插入0 次删除
  1. 1 0
      api/core/workflow/nodes/tool/tool_node.py
  2. 19870 0
      web/pnpm-lock.yaml

+ 1 - 0
api/core/workflow/nodes/tool/tool_node.py

@@ -69,6 +69,7 @@ class ToolNode(BaseNode[ToolNodeData]):
                     error=f"Failed to get tool runtime: {str(e)}",
                 )
             )
+            return
 
         # get parameters
         tool_parameters = tool_runtime.get_merged_runtime_parameters() or []

文件差異過大導致無法顯示
+ 19870 - 0
web/pnpm-lock.yaml