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]

Minor fix

John Yangcbb420912d94
diff --git a/sweagent/agent/models.py b/sweagent/agent/models.py
index c6390d51..a1f2ca97 100644
--- a/sweagent/agent/models.py
+++ b/sweagent/agent/models.py
@@ -682,6 +682,7 @@ class LiteLLMModel(AbstractModel):
reraise=True,
retry=retry_if_not_exception_type(
(
+ ContextWindowExceededError,
CostLimitExceededError,
RuntimeError,
litellm.exceptions.UnsupportedParamsError,