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]
Update env defaults for efficiency
carlosejimenez2b8972c2fb18
diff --git a/sweagent/environment/swe_env.py b/sweagent/environment/swe_env.pyindex 06825e0c..01efa179 100644--- a/sweagent/environment/swe_env.py+++ b/sweagent/environment/swe_env.py@@ -185,7 +185,7 @@ class SWEEnv:self._chook.on_start_deployment()asyncio.run(self.deployment.start())asyncio.run(self.deployment.runtime.create_session(CreateBashSessionRequest(startup_source=["/root/.bashrc"])))- self.set_env_variables({"LANG": "C.UTF-8", "LC_ALL": "C.UTF-8"})+ self.set_env_variables({"LANG": "C.UTF-8", "LC_ALL": "C.UTF-8", "PAGER": "cat", "PIP_PROGRESS_BAR": "off"})self.logger.info("Environment Initialized")def interrupt_session(self):