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]
Minor fix
John Yang9a8d55aff6c8
diff --git a/sweagent/agent/agents.py b/sweagent/agent/agents.pyindex f64818ba..043b0a97 100644--- a/sweagent/agent/agents.py+++ b/sweagent/agent/agents.py@@ -564,7 +564,10 @@ class Agent:if isinstance(self.model, HumanThoughtModel):# TODO: This might be a bit hacky# consider changing sweagent/tools/tools.py:ToolConfig to enforce this.- step.thought, step.action = ThoughtActionParser()(output, self.tools.config.commands)+ step.thought, step.action = ThoughtActionParser()(+ output["message"],+ self.tools.config.commands+ )elif isinstance(self.model, HumanModel):step.thought, step.action = "", output["message"]else: