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]
Remove `-x` from `git clean` in reset
John Yang33c96499cfdb
diff --git a/sweagent/environment/swe_env.py b/sweagent/environment/swe_env.pyindex f1b61cd2..c4386aeb 100644--- a/sweagent/environment/swe_env.py+++ b/sweagent/environment/swe_env.py@@ -158,7 +158,7 @@ class SWEEnv:"git status","git fetch",f"git checkout {self.repo.base_commit}",- "git clean -fdxq",+ "git clean -fdq",]self.communicate(input=" && ".join(startup_commands),