mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-10 03:16:51 +08:00
fix: iteration log index error (#14855)
This commit is contained in:
@@ -6,7 +6,7 @@ function addChildrenToIterationNode(iterationNode: NodeTracing, childrenNodes: N
|
||||
childrenNodes.forEach((item, index) => {
|
||||
if (!item.execution_metadata) return
|
||||
const { iteration_index = 0 } = item.execution_metadata
|
||||
const runIndex: number = iteration_index || index
|
||||
const runIndex: number = iteration_index !== undefined ? iteration_index : index
|
||||
if (!details[runIndex])
|
||||
details[runIndex] = []
|
||||
|
||||
|
||||
Reference in New Issue
Block a user