From b04141008168534f365ffd4076be65bc2fb9d7f8 Mon Sep 17 00:00:00 2001 From: Shuchang Zheng Date: Sat, 7 Dec 2024 12:14:34 -0800 Subject: [PATCH] first_step --- skyvern/forge/agent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skyvern/forge/agent.py b/skyvern/forge/agent.py index 95e8eeb01..ee080ec99 100644 --- a/skyvern/forge/agent.py +++ b/skyvern/forge/agent.py @@ -1637,7 +1637,7 @@ async def build_task_response( if first_step: recording_artifact = await app.DATABASE.get_artifact( task_id=task.task_id, - step_id=last_step.step_id, + step_id=first_step.step_id, artifact_type=ArtifactType.RECORDING, organization_id=task.organization_id, )