public run endpoint with error code (#3512)

This commit is contained in:
LawyZheng
2025-09-24 14:49:20 +08:00
committed by GitHub
parent ad731f6175
commit b2848ceaf2
5 changed files with 8 additions and 0 deletions

View File

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