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]
Merge remote-tracking branch 'refs/remotes/origin/main'
carlosejimenezcc83ce58318e
diff --cc sweagent/environment/swe_env.pyindex 01efa179,b06e610a..cbe01952--- a/sweagent/environment/swe_env.py+++ b/sweagent/environment/swe_env.py@@@ -184,8 -181,12 +181,12 @@@ 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", "PAGER": "cat", "PIP_PROGRESS_BAR": "off"})+ asyncio.run(+ self.deployment.runtime.create_session(+ CreateBashSessionRequest(startup_source=["/root/.bashrc"], startup_timeout=10)+ )+ )- 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", "PIP_PROGRESS_BAR": "off", "PAGER": "cat"})self.logger.info("Environment Initialized")def interrupt_session(self):