revert instructions for run infer

This commit is contained in:
Xingyao Wang
2024-05-28 21:57:47 +08:00
parent a9dc3ce6f3
commit a27b0bb748

View File

@@ -286,10 +286,10 @@ IMPORTANT TIPS:
else:
# Testing general agents
instruction = (
f'Please fix the following issue for the repository in /workspace/{workspace_dir_name}\n'
'Environment has been set up for you to start working. You may assume all necessary tools are installed.\n'
f'Please fix the following issue for the repository in /workspace/{workspace_dir_name}.\n'
'Environment has been set up for you to start working. You may assume all necessary tools are installed.\n\n'
'# Problem Statement\n'
f'{instance.problem_statement}\n'
f'{instance.problem_statement}\n\n'
)
if USE_HINT_TEXT and instance.hints_text:
instruction += f'# Hints\n{instance.hints_text}\n\n'