Sfoglia il codice sorgente

fix: unbound variable in tool node

Yeuoly 7 mesi fa
parent
commit
c377eb8c28
2 ha cambiato i file con 19871 aggiunte e 0 eliminazioni
  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)}",
                     error=f"Failed to get tool runtime: {str(e)}",
                 )
                 )
             )
             )
+            return
 
 
         # get parameters
         # get parameters
         tool_parameters = tool_runtime.get_merged_runtime_parameters() or []
         tool_parameters = tool_runtime.get_merged_runtime_parameters() or []

File diff suppressed because it is too large
+ 19870 - 0
web/pnpm-lock.yaml