princeton-nlp / SWE-agent

SWE-agent takes a GitHub issue and tries to automatically fix it, using GPT-4, or your LM of choice. It can also be employed for offensive cybersecurity or competitive coding challenges.
https://princeton-nlp.github.io/SWE-agent/
MIT License
13.39k stars 1.32k forks source link

communicate_with_handling: Better logging #546

Closed klieret closed 3 months ago

klieret commented 3 months ago
self.communicate_with_handling(
      f"conda create --name {env_name} --clone {python_env}",
      error_msg="Failed to clone conda environment",
      timeout_duration=LONG_TIMEOUT,
  )