Skip to content

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]

litellm: Requery ContentPolicyViolationError

Kilian Lieret74cb4c3906b1
diff --git a/sweagent/agent/models.py b/sweagent/agent/models.py
index ed871242..aa6cc6ab 100644
--- a/sweagent/agent/models.py
+++ b/sweagent/agent/models.py
@@ -546,7 +546,6 @@ class LiteLLMModel(AbstractModel):
litellm.exceptions.NotFoundError,
litellm.exceptions.PermissionDeniedError,
litellm.exceptions.ContextWindowExceededError,
- litellm.exceptions.ContentPolicyViolationError,
litellm.exceptions.APIError,
)
),