Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
fix: can not show loop detail in one step run (#20215)
Joelba7a2fd1352f
diff --git a/web/app/components/workflow/run/iteration-log/iteration-log-trigger.tsx b/web/app/components/workflow/run/iteration-log/iteration-log-trigger.tsxindex 91bcaf94856..8c9b43916b7 100644--- a/web/app/components/workflow/run/iteration-log/iteration-log-trigger.tsx+++ b/web/app/components/workflow/run/iteration-log/iteration-log-trigger.tsx@@ -28,7 +28,7 @@ const IterationLogTrigger = ({if (parallelNodes.length > 0)return parallelNodes- const serialIndex = parseInt(key, 10)+ const serialIndex = Number.parseInt(key, 10)if (!isNaN(serialIndex)) {const serialNodes = allExecutions.filter(exec =>exec.execution_metadata?.iteration_id === nodeInfo.node_id@@ -49,7 +49,6 @@ const IterationLogTrigger = ({const iterDurationMap = nodeInfo?.iterDurationMap || iterationNodeMeta?.iteration_duration_map || {}let structuredList: NodeTracing[][] = []-if (iterationNodeMeta?.iteration_duration_map) {const instanceKeys = Object.keys(iterationNodeMeta.iteration_duration_map)structuredList = instanceKeysdiff --git a/web/app/components/workflow/run/loop-log/loop-log-trigger.tsx b/web/app/components/workflow/run/loop-log/loop-log-trigger.tsxindex 76619ffdc12..b086312baf8 100644--- a/web/app/components/workflow/run/loop-log/loop-log-trigger.tsx+++ b/web/app/components/workflow/run/loop-log/loop-log-trigger.tsx@@ -29,7 +29,7 @@ const LoopLogTrigger = ({if (parallelNodes.length > 0)return parallelNodes- const serialIndex = parseInt(key, 10)+ const serialIndex = Number.parseInt(key, 10)if (!isNaN(serialIndex)) {const serialNodes = allExecutions.filter(exec =>exec.execution_metadata?.loop_id === nodeInfo.node_id@@ -51,16 +51,15 @@ const LoopLogTrigger = ({const loopVarMap = loopNodeMeta?.loop_variable_map || {}let structuredList: NodeTracing[][] = []-- if (loopNodeMeta?.loop_duration_map) {+ if (nodeInfo.details?.length) {+ structuredList = nodeInfo.details+ }+ else if (loopNodeMeta?.loop_duration_map) {const instanceKeys = Object.keys(loopNodeMeta.loop_duration_map)structuredList = instanceKeys.map(key => filterNodesForInstance(key)).filter(branchNodes => branchNodes.length > 0)}- else if (nodeInfo.details?.length) {- structuredList = nodeInfo.details- }onShowLoopResultList(structuredList,