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]
Fix: Use LONG_TIMEOUT for pre_install commands (#695)
Kilian Lieretc18e75ae23b6
diff --git a/sweagent/environment/swe_env.py b/sweagent/environment/swe_env.pyindex 256970f0..d68bc337 100644--- a/sweagent/environment/swe_env.py+++ b/sweagent/environment/swe_env.py@@ -1026,6 +1026,7 @@ class SWEEnv(gym.Env):self.communicate_with_handling(pre_install_cmd,error_msg="Pre-install commands failed to execute successfully",+ timeout_duration=LONG_TIMEOUT,)self.logger.debug("Ran pre-install commands")self.logger.info(f"Installing {self._repo_name} at base commit...")