Skip to content

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: Use redo_existing setting

Kilian Lieret128ab2f660fb
diff --git a/sweagent/run/run_batch.py b/sweagent/run/run_batch.py
index 6e1ef887..1a923c93 100644
--- a/sweagent/run/run_batch.py
+++ b/sweagent/run/run_batch.py
@@ -97,6 +97,7 @@ class RunBatch:
agent=Agent.from_config(config.agent),
output_dir=config.output_dir,
raise_exceptions=config.raise_exceptions,
+ redo_existing=config.redo_existing,
)
def add_hook(self, hook: RunHook) -> None: