do no surface error code for completion (#3510)

This commit is contained in:
LawyZheng
2025-09-24 12:12:12 +08:00
committed by GitHub
parent 1b3df07e53
commit 3e5e61ed50

View File

@@ -1836,11 +1836,6 @@ async def handle_complete_action(
)
action.verified = True
if task.error_code_mapping:
action.errors = await extract_user_defined_errors(
task=task, step=step, scraped_page=scraped_page, reasoning=action.reasoning
)
if not task.data_extraction_goal and verification_result.thoughts:
await app.DATABASE.update_task(
task.task_id,