Skip to content

Commit

Permalink
fix elpased time
Browse files Browse the repository at this point in the history
  • Loading branch information
JzoNgKVO committed Mar 15, 2024
1 parent 777cca1 commit e5c8743
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web/app/components/workflow/run/node.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ const NodePanel: FC<Props> = ({ 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) => {
Expand Down

0 comments on commit e5c8743

Please sign in to comment.