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 template variable in blocklist_error_template
Kilian Lieretc2879f971786
diff --git a/sweagent/tools/tools.py b/sweagent/tools/tools.pyindex 05a6fb8a..80c9ecc8 100644--- a/sweagent/tools/tools.py+++ b/sweagent/tools/tools.py@@ -19,7 +19,7 @@ from sweagent.utils.log import get_loggerclass ToolFilterConfig(BaseModel):- blocklist_error_template: str = "Interactive operation '{action}' is not supported by this environment."+ blocklist_error_template: str = "Operation '{{action}}' is not supported by this environment."blocklist: list[str] = ["vim","vi",