remove unnecessary data from log when creating a new task for workflow (#2289)

This commit is contained in:
Shuchang Zheng
2025-05-04 16:41:11 -07:00
committed by GitHub
parent 7760c6ff3e
commit cbf8a6ac6b

View File

@@ -174,15 +174,12 @@ class ForgeAgent:
error_code_mapping=task_block.error_code_mapping, error_code_mapping=task_block.error_code_mapping,
) )
LOG.info( LOG.info(
"Created new task for workflow run", "Created a new task for workflow run",
workflow_id=workflow.workflow_id, workflow_id=workflow.workflow_id,
workflow_run_id=workflow_run.workflow_run_id, workflow_run_id=workflow_run.workflow_run_id,
task_id=task.task_id, task_id=task.task_id,
url=task.url, url=task.url,
title=task.title, title=task.title,
nav_goal=task.navigation_goal,
data_goal=task.data_extraction_goal,
error_code_mapping=task.error_code_mapping,
proxy_location=task.proxy_location, proxy_location=task.proxy_location,
task_order=task_order, task_order=task_order,
task_retry=task_retry, task_retry=task_retry,