Readability improvement & remove duplicated and unused prompts (#10241)

This commit is contained in:
Insop
2025-08-11 21:42:17 -07:00
committed by GitHub
parent 6f21b6700a
commit 1d0d88d491
3 changed files with 1 additions and 113 deletions

View File

@@ -109,9 +109,7 @@ def get_instruction(instance: pd.Series, metadata: EvalMetadata) -> MessageActio
if mode.startswith('swt'):
template_name = 'swt.j2'
elif mode == 'swe':
if 'claude' in llm_model:
template_name = 'swe_default.j2'
elif 'gpt-4.1' in llm_model:
if 'gpt-4.1' in llm_model:
template_name = 'swe_gpt4.j2'
else:
template_name = (