SWE-agent takes a GitHub issue and tries to automatically fix it, using your LM of choice. It can also be employed for offensive cybersecurity or competitive coding challenges. [NeurIPS 2024]
Fix problem statement loading in run_replay
carlosejimenezf60dbef8260c
diff --git a/sweagent/run/run_replay.py b/sweagent/run/run_replay.pyindex 0d7d9804..9166a335 100644--- a/sweagent/run/run_replay.py+++ b/sweagent/run/run_replay.py@@ -15,7 +15,6 @@ from typing_extensions import Selffrom sweagent.agent.agents import Agentfrom sweagent.agent.models import ReplayModelConfig-from sweagent.environment.config.problem_statement import EmptyProblemStatementfrom sweagent.environment.swe_env import SWEEnvfrom sweagent.run.common import BasicCLIfrom sweagent.run.run_single import RunSingle, RunSingleConfig@@ -141,7 +140,7 @@ class RunReplay:return RunSingle(self._get_env(),self._get_agent(),- problem_statement=EmptyProblemStatement(),+ problem_statement=self.config.problem_statement,output_dir=Path(self.output_dir),)