diff --git a/skyvern/forge/agent.py b/skyvern/forge/agent.py index d497c571..3d257f78 100644 --- a/skyvern/forge/agent.py +++ b/skyvern/forge/agent.py @@ -1928,7 +1928,7 @@ class ForgeAgent: task_id=step.task_id, step_id=step.step_id, duration_seconds=duration_seconds, - status=status, + step_status=status, organization_id=step.organization_id, ) @@ -1975,7 +1975,7 @@ class ForgeAgent: task_id=task.task_id, workflow_run_id=task.workflow_run_id, duration_seconds=duration_seconds, - status=status, + task_status=status, organization_id=task.organization_id, ) diff --git a/skyvern/forge/sdk/workflow/models/block.py b/skyvern/forge/sdk/workflow/models/block.py index 6dc99bce..e306c045 100644 --- a/skyvern/forge/sdk/workflow/models/block.py +++ b/skyvern/forge/sdk/workflow/models/block.py @@ -685,7 +685,7 @@ class BaseTaskBlock(Block): LOG.warning( f"Task failed with status {updated_task.status}{retry_message}", task_id=updated_task.task_id, - status=updated_task.status, + task_status=updated_task.status, workflow_run_id=workflow_run_id, workflow_id=workflow.workflow_id, organization_id=workflow_run.organization_id,