浏览代码

fix: unbound variable in tool node

Yeuoly 5 月之前
父节点
当前提交
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