From 1bde57e591098cdffb88ba6265bfc195816c9f1a Mon Sep 17 00:00:00 2001 From: Yi Date: Thu, 29 Aug 2024 17:54:26 +0800 Subject: [PATCH] delete console logs --- .../components/base/chat/chat/answer/workflow-process.tsx | 1 + web/app/components/workflow/run/tracing-panel.tsx | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/web/app/components/base/chat/chat/answer/workflow-process.tsx b/web/app/components/base/chat/chat/answer/workflow-process.tsx index 6e32ed2ae2..ced352eba3 100644 --- a/web/app/components/base/chat/chat/answer/workflow-process.tsx +++ b/web/app/components/base/chat/chat/answer/workflow-process.tsx @@ -108,6 +108,7 @@ const WorkflowProcessItem = ({ { } diff --git a/web/app/components/workflow/run/tracing-panel.tsx b/web/app/components/workflow/run/tracing-panel.tsx index 3cbf63cab3..3f5f17972c 100644 --- a/web/app/components/workflow/run/tracing-panel.tsx +++ b/web/app/components/workflow/run/tracing-panel.tsx @@ -61,7 +61,6 @@ function buildLogTree(nodes: NodeTracing[]): TracingNodeProps[] { // Count parallel children (for figuring out if we need to use letters) for (const node of nodes) { - console.log(node) const parent_parallel_id = node.execution_metadata?.parent_parallel_id ?? null const parallel_id = node.execution_metadata?.parallel_id ?? null @@ -188,7 +187,7 @@ const TracingPanel: FC = ({ list, onShowIterationDetail }) =>
{node.children.map(renderNode)} @@ -197,9 +196,10 @@ const TracingPanel: FC = ({ list, onShowIterationDetail }) => ) } else { + const isHovered = hoveredParallel === node.id return (
-
+
{node.branchTitle}