fix: In the execution details, the execution time of the loop node is displayed incorrectly (#4479)

This commit is contained in:
shaohuzhang1 2025-12-10 11:01:25 +08:00 committed by GitHub
parent 38eb915d3b
commit 9fc1809ea3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -205,6 +205,7 @@ def loop(workflow_manage_new_instance, node: INode, generate_loop):
node.context['loop_answer_data'] = loop_answer_data
node.context["index"] = current_index
node.context["item"] = current_index
node.context['run_time'] = time.time() - node.context.get("start_time")
def get_write_context(loop_type, array, number, loop_body):