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]
Important fix: Setting submission
Kilian Lieretec1f0a7f856a
diff --git a/sweagent/agent/agents.py b/sweagent/agent/agents.pyindex 78f57068..8fb3ce6b 100644--- a/sweagent/agent/agents.py+++ b/sweagent/agent/agents.py@@ -519,7 +519,7 @@ class Agent:if submission.strip() != "":step.submission = Noneelse:- step.submission = None+ step.submission = submissionstep.observation = submissionif not step.exit_status:step.exit_status = "submitted"