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]

Document --cache_task_images

Kilian Lieret3582b358a790
diff --git a/docs/usage/cl_tutorial.md b/docs/usage/cl_tutorial.md
index b671cfdf..01893f45 100644
--- a/docs/usage/cl_tutorial.md
+++ b/docs/usage/cl_tutorial.md
@@ -31,6 +31,9 @@ Here,
!!! tip "Running more than once"
* The complete details of the run are saved as a "trajectory" file (more about them [here](trajectories.md)). They can also be turned into new [demonstrations](../config/demonstrations.md).
* If you run the same command more than once, you will find that SWE-agent aborts with ` Skipping existing trajectory`. You can either remove the trajectory from the warning message, or add the `--skip_existing=False` flag.
+ * If you solve multiple issues from the same repository/in the same environment, you can specify the
+ `--cache_task_images` flag. This will create a persistent docker image with the initialized environment
+ required for the problem.
## Specifying the repository
@@ -139,4 +142,4 @@ And follow the instructions below it:
git apply "${PATCH_FILE_PATH}"
```
-{% include-markdown "../_footer.md" %}
\ No newline at end of file
+{% include-markdown "../_footer.md" %}