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]

Change: Do not block pip

Kilian Lieret0696c1d63156
diff --git a/sweagent/tools/tools.py b/sweagent/tools/tools.py
index 09fa8575..81de77d3 100644
--- a/sweagent/tools/tools.py
+++ b/sweagent/tools/tools.py
@@ -48,8 +48,6 @@ class ToolFilterConfig(BaseModel):
"emacs",
"nano",
"su",
- "pip install .",
- "pip install -e .",
]
"""Block any command that matches one of these exactly"""
block_unless_regex: dict[str, str] = {