Selaa lähdekoodia

fix: unbound variable in tool node

Yeuoly 6 kuukautta sitten
vanhempi
commit
c377eb8c28
2 muutettua tiedostoa jossa 19871 lisäystä ja 0 poistoa
  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 []

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 19870 - 0
web/pnpm-lock.yaml