use single prompt to generate error code (#3396)

This commit is contained in:
LawyZheng
2025-09-10 02:45:07 +08:00
committed by GitHub
parent ceec64d201
commit 3b8789d045
5 changed files with 68 additions and 27 deletions

View File

@@ -2062,7 +2062,6 @@ class ForgeAgent:
current_url=current_url,
data_extraction_goal=task.data_extraction_goal,
action_history=actions_and_results_str,
error_code_mapping_str=(json.dumps(task.error_code_mapping) if task.error_code_mapping else None),
local_datetime=datetime.now(context.tz_info).isoformat(),
verification_code_check=verification_code_check,
complete_criterion=task.complete_criterion.strip() if task.complete_criterion else None,