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(models): Directly raise more errors instead of retry
Kilian Lieretf29866fb8f2c
diff --git a/sweagent/agent/models.py b/sweagent/agent/models.pyindex f8700e85..47cc2a37 100644--- a/sweagent/agent/models.py+++ b/sweagent/agent/models.py@@ -621,6 +621,9 @@ class LiteLLMModel(AbstractModel):litellm.exceptions.PermissionDeniedError,litellm.exceptions.ContextWindowExceededError,litellm.exceptions.APIError,+ litellm.exceptions.ContentPolicyViolationError,+ TypeError,+ litellm.exceptions.AuthenticationError,)),):