diff --git a/skyvern-frontend/src/routes/tasks/detail/ScrollableActionList.tsx b/skyvern-frontend/src/routes/tasks/detail/ScrollableActionList.tsx index e4bd3f83..be38329f 100644 --- a/skyvern-frontend/src/routes/tasks/detail/ScrollableActionList.tsx +++ b/skyvern-frontend/src/routes/tasks/detail/ScrollableActionList.tsx @@ -111,15 +111,12 @@ function ScrollableActionList({ return (
-
-
- Steps: {taskDetails.steps} -
+
Actions: {taskDetails.actions}
- Cost: {taskDetails.cost} + Steps: {taskDetails.steps}
diff --git a/skyvern-frontend/src/routes/workflows/workflowRun/WorkflowRunTimeline.tsx b/skyvern-frontend/src/routes/workflows/workflowRun/WorkflowRunTimeline.tsx index 708db692..eb699ae3 100644 --- a/skyvern-frontend/src/routes/workflows/workflowRun/WorkflowRunTimeline.tsx +++ b/skyvern-frontend/src/routes/workflows/workflowRun/WorkflowRunTimeline.tsx @@ -1,4 +1,8 @@ +import { ScrollArea, ScrollAreaViewport } from "@/components/ui/scroll-area"; import { Skeleton } from "@/components/ui/skeleton"; +import { statusIsFinalized, statusIsNotFinalized } from "@/routes/tasks/types"; +import { cn } from "@/util/utils"; +import { DotFilledIcon } from "@radix-ui/react-icons"; import { useWorkflowRunQuery } from "../hooks/useWorkflowRunQuery"; import { useWorkflowRunTimelineQuery } from "../hooks/useWorkflowRunTimelineQuery"; import { @@ -9,21 +13,12 @@ import { ObserverThought, WorkflowRunBlock, } from "../types/workflowRunTypes"; +import { ThoughtCard } from "./ThoughtCard"; import { ActionItem, WorkflowRunOverviewActiveElement, } from "./WorkflowRunOverview"; -import { ScrollArea, ScrollAreaViewport } from "@/components/ui/scroll-area"; -import { statusIsFinalized, statusIsNotFinalized } from "@/routes/tasks/types"; -import { cn } from "@/util/utils"; -import { ThoughtCard } from "./ThoughtCard"; import { WorkflowRunTimelineBlockItem } from "./WorkflowRunTimelineBlockItem"; -import { DotFilledIcon } from "@radix-ui/react-icons"; - -const formatter = Intl.NumberFormat("en-US", { - style: "currency", - currency: "USD", -}); type Props = { activeItem: WorkflowRunOverviewActiveElement; @@ -67,16 +62,13 @@ function WorkflowRunTimeline({ return (
-
+
Actions: {numberOfActions}
Steps: {workflowRun.total_steps ?? 0}
-
- Cost: {formatter.format(workflowRun.total_cost ?? 0)} -