From 8f15880a6d309ac07f0c356a2e60265f63324cb0 Mon Sep 17 00:00:00 2001 From: Jonathan Dobson Date: Tue, 14 Oct 2025 16:01:59 -0400 Subject: [PATCH] use action.text for input actions in workflow timeline, instead of action.response (#3709) --- skyvern-frontend/src/api/types.ts | 1 + .../src/routes/workflows/workflowRun/ActionCard.tsx | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/skyvern-frontend/src/api/types.ts b/skyvern-frontend/src/api/types.ts index eb4aa4f0..a869b559 100644 --- a/skyvern-frontend/src/api/types.ts +++ b/skyvern-frontend/src/api/types.ts @@ -394,6 +394,7 @@ export type ActionsApiResponse = { intention: string | null; response: string | null; created_by: string | null; + text: string | null; }; export type TaskV2 = { diff --git a/skyvern-frontend/src/routes/workflows/workflowRun/ActionCard.tsx b/skyvern-frontend/src/routes/workflows/workflowRun/ActionCard.tsx index b87ce720..bdc518f7 100644 --- a/skyvern-frontend/src/routes/workflows/workflowRun/ActionCard.tsx +++ b/skyvern-frontend/src/routes/workflows/workflowRun/ActionCard.tsx @@ -87,7 +87,10 @@ function ActionCard({ action, onClick, active, index }: Props) { <>
- Input: {action.response} + Input:{" "} + {action.action_type === "input_text" + ? action.text ?? action.response + : action.response}
)}