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]

Mention --open_pr flag

Kilian Lieret01d9baed73e0
diff --git a/README.md b/README.md
index 359f5ddf..161f24fb 100644
--- a/README.md
+++ b/README.md
@@ -138,6 +138,11 @@ python run.py --model_name gpt4 \
--config_file config/default_from_url.yaml
```
+
+> [!TIP]
+> You can have the agent automatically open a PR if the issue has been solved by supplying the `--open_pr`
+> flag. Please use this feature responsibly (on your own repositories or after careful consideration).
+
> [!TIP]
> Run `python run.py --help` to see all available options.