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]
Change: More default retry waits
Kilian Lieretdab720a6e5f0
diff --git a/sweagent/agent/models.py b/sweagent/agent/models.pyindex 387ed4fd..a779b47d 100644--- a/sweagent/agent/models.py+++ b/sweagent/agent/models.py@@ -52,11 +52,11 @@ _THREADS_THAT_USED_API_KEYS = []class RetryConfig(PydanticBaseModel):"""This configuration object specifies how many times to retry a failed LM API call."""- retries: int = 5+ retries: int = 10"""Number of retries"""- min_wait: float = 1+ min_wait: float = 10"""Minimum wait time between retries (random exponential wait)"""- max_wait: float = 15+ max_wait: float = 120"""Maximum wait time between retries (random exponential wait)"""