Skip to content

Automate browser based workflows with AI

thought card uses answers or thoughts (#1440)

Shuchang Zheng603eab58901d
diff --git a/skyvern-frontend/src/routes/workflows/workflowRun/ThoughtCard.tsx b/skyvern-frontend/src/routes/workflows/workflowRun/ThoughtCard.tsx
index cc9d9c5d5..191898bce 100644
--- a/skyvern-frontend/src/routes/workflows/workflowRun/ThoughtCard.tsx
+++ b/skyvern-frontend/src/routes/workflows/workflowRun/ThoughtCard.tsx
@@ -28,7 +28,9 @@ function ThoughtCard({ thought, onClick, active }: Props) {
<span className="text-xs">Decision</span>
</div>
</div>
- <div className="text-xs text-slate-400">{thought.answer}</div>
+ <div className="text-xs text-slate-400">
+ {thought.answer || thought.thought}
+ </div>
</div>
);
}