refactor: tool parameter cache (#3703)
This commit is contained in:
parent
65ac4f69af
commit
3480f1c59e
9 changed files with 95 additions and 57 deletions
|
|
@ -39,7 +39,8 @@ class ToolNode(BaseNode):
|
|||
parameters = self._generate_parameters(variable_pool, node_data)
|
||||
# get tool runtime
|
||||
try:
|
||||
tool_runtime = ToolManager.get_workflow_tool_runtime(self.tenant_id, node_data)
|
||||
self.app_id
|
||||
tool_runtime = ToolManager.get_workflow_tool_runtime(self.tenant_id, self.app_id, self.node_id, node_data)
|
||||
except Exception as e:
|
||||
return NodeRunResult(
|
||||
status=WorkflowNodeExecutionStatus.FAILED,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue