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]
Enh: Remove redundant 'saved traj to X' messages (#528)
Kilian Lieret89be60611e54
diff --git a/sweagent/agent/agents.py b/sweagent/agent/agents.pyindex 46d28323..ad688c5b 100644--- a/sweagent/agent/agents.py+++ b/sweagent/agent/agents.py@@ -339,7 +339,6 @@ class Agent:"info": info,}log_path.write_text(json.dumps(log_dict, indent=2))- logger.info(f"Saved trajectory to {log_path}")def _get_first_match(self, action: str, pattern_type: str) -> re.Match | None:"""Return the first match of a command pattern in the action string."""