fix: incorrect workflow max call depth (#4759)
This commit is contained in:
parent
e1cd9aef8f
commit
d4cd6149ac
1 changed files with 1 additions and 1 deletions
|
|
@ -61,7 +61,7 @@ class ToolNode(BaseNode):
|
||||||
user_id=self.user_id,
|
user_id=self.user_id,
|
||||||
workflow_id=self.workflow_id,
|
workflow_id=self.workflow_id,
|
||||||
workflow_tool_callback=DifyWorkflowCallbackHandler(),
|
workflow_tool_callback=DifyWorkflowCallbackHandler(),
|
||||||
workflow_call_depth=self.workflow_call_depth + 1
|
workflow_call_depth=self.workflow_call_depth,
|
||||||
)
|
)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
return NodeRunResult(
|
return NodeRunResult(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue