From e5c8743712401e226ba3a7fc2ffbcd0f7391c540 Mon Sep 17 00:00:00 2001 From: JzoNg Date: Fri, 15 Mar 2024 21:15:22 +0800 Subject: [PATCH] fix elpased time --- web/app/components/workflow/run/node.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/web/app/components/workflow/run/node.tsx b/web/app/components/workflow/run/node.tsx index f4cbbb80ee..42acf8ef08 100644 --- a/web/app/components/workflow/run/node.tsx +++ b/web/app/components/workflow/run/node.tsx @@ -24,6 +24,7 @@ const NodePanel: FC = ({ nodeInfo, collapsed, collapseHandle }) => { return `${(time * 1000).toFixed(3)} ms` if (time > 60) return `${parseInt(Math.round(time / 60).toString())} m ${(time % 60).toFixed(3)} s` + return `${time.toFixed(3)} s` } const getTokenCount = (tokens: number) => {