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: Use multilingual install hack without adding as tool

Kilian Lieret330cc464cee7
diff --git a/tools/ml_setup/bin/do_nothing b/tools/ml_setup/bin/do_nothing
index fc9d4b2f..af0756ee 100644
--- a/tools/ml_setup/bin/do_nothing
+++ b/tools/ml_setup/bin/do_nothing
@@ -1,7 +1,2 @@
-#!/usr/bin/env bash
-
-main() {
- echo "Executed do_nothing"
-}
-
-main "$@"
+# This will never be called, but having a file here
+# ensures that chmod +x commands on the bin directory don't fail
\ No newline at end of file
diff --git a/tools/ml_setup/config.yaml b/tools/ml_setup/config.yaml
index 44404573..a2fa2036 100644
--- a/tools/ml_setup/config.yaml
+++ b/tools/ml_setup/config.yaml
@@ -1,5 +1 @@
-# This exists to make the validation pass. The only useful part of the tool is install.sh
-tools:
- do_nothing:
- signature: "do_nothing"
- docstring: "does nothing"
+tools: {}
\ No newline at end of file