fix(workflow): add root_node_id to DraftWorkflowTriggerRunApi for improved response handling

- Included root_node_id in the API call to enhance the response structure during workflow execution.
This commit is contained in:
Harry
2025-10-10 17:20:47 +08:00
parent 75b3f5ac5a
commit 8f854e6a45

View File

@@ -1170,6 +1170,7 @@ class DraftWorkflowTriggerRunApi(Resource):
args=workflow_args,
invoke_from=InvokeFrom.DEBUGGER,
streaming=True,
root_node_id=node_id,
)
return helper.compact_generate_response(response)
except InvokeRateLimitError as ex: