add step count to webhooks and get run payload (#4410)

This commit is contained in:
Marc Kelechava
2026-01-07 11:41:57 -08:00
committed by GitHub
parent 3c896fad1c
commit 4401216346
9 changed files with 57 additions and 11 deletions

View File

@@ -1799,6 +1799,7 @@ async def build_task_v2_run_response(task_v2: TaskV2) -> TaskRunResponse:
error_code_mapping=task_v2.error_code_mapping,
),
errors=workflow_run_resp.errors if workflow_run_resp else None,
step_count=workflow_run_resp.step_count if workflow_run_resp else None,
)