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}
)}