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]

Fix: Ignore missing treesitter for very old python (#1180)

Kilian Liereta42ec4fe973a
diff --git a/tools/edit_anthropic/install.sh b/tools/edit_anthropic/install.sh
index ba402655..5304f6cd 100644
--- a/tools/edit_anthropic/install.sh
+++ b/tools/edit_anthropic/install.sh
@@ -1,2 +1,3 @@
-pip install 'tree-sitter==0.21.3'
-pip install 'tree-sitter-languages'
\ No newline at end of file
+# Ignore failures, see https://github.com/SWE-agent/SWE-agent/issues/1179
+pip install 'tree-sitter==0.21.3' || true
+pip install 'tree-sitter-languages' || true
\ No newline at end of file