Add current date to info extraction prompt (#617)

This commit is contained in:
Kerem Yilmaz
2024-07-18 11:36:09 -07:00
committed by GitHub
parent 51816c0f60
commit 69d73bc551
5 changed files with 10 additions and 4 deletions

View File

@@ -975,7 +975,7 @@ class ForgeAgent:
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),
utc_datetime=datetime.utcnow(),
utc_datetime=datetime.utcnow().strftime("%Y-%m-%d %H:%M"),
)
await app.ARTIFACT_MANAGER.create_artifact(