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]

Doc: Fix description of environment setup config file (#494)

Kilian Lieretd4aac2fd16df
diff --git a/docs/usage/cl_tutorial.md b/docs/usage/cl_tutorial.md
index 5a2ca736..7b1c9ad9 100644
--- a/docs/usage/cl_tutorial.md
+++ b/docs/usage/cl_tutorial.md
@@ -108,10 +108,14 @@ install: 'pip install -e .'
Here, `install` is an arbitrary command that is run, while `python` will be the python version that is setup with conda.
-The config file also provides two more top level directives:
-
-* `packages`: Path to a `requirements.txt` or to a `env.yml` as readable by conda
-* `pip_packages`: A list of python packages that are installed with `pip install PACKAGE`
+The config file can have the following keys:
+
+* `python`: Python version (will be set up via conda)
+* `packages`: Either `requirements.txt`, `environment.yml` (finds the corresponding file and installs from there) or a whitespace separated list of conda packages
+* `pip_packages`: A list of additional python packages that are installed with `pip install PACKAGE`
+* `pre_install`: A list of custom commands
+* `install`: A custom command
+* `post_install`: A list of custom commands
## Taking actions