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]

Update README.md

Ofir Press50bb02c2b57a
diff --git a/README.md b/README.md
index 7dce7a1b..4719d747 100644
--- a/README.md
+++ b/README.md
@@ -240,6 +240,11 @@ Replace `<predictions_path>` with the path to the model's predictions, which sho
If you'd like to modify the example demonstration that we feed the model at the start of each run, first generate a trajectory manually by running the agent with ```--model_name human```
and then convert that trajectory into a demonstration by following the guide [here](https://github.com/princeton-nlp/SWE-agent/tree/main/make_demos).
+To edit text in ```human``` mode:
+1. Run the command ```edit edit_start_line:edit_end_line```
+2. Write the text you want to insert
+3. Press ```return``` then write ```end_of_edit``` and then press ```return``` again to submit the edit.
+
## 💫 Contributions <a name="contributions"></a>
- If you'd like to ask questions, learn about upcoming features, and participate in future development, join our [Discord community](https://discord.gg/AVEFbBn2rH)!
- If you'd like to contribute to the codebase, we welcome [issues](https://github.com/princeton-nlp/SWE-agent/issues) and [pull requests](https://github.com/princeton-nlp/SWE-agent/pulls)!