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: Add copy button; highlight specific lines
Kilian Liereta73584af8032
diff --git a/docs/installation/codespaces.md b/docs/installation/codespaces.mdindex 8e2c97cc..a45975c4 100644--- a/docs/installation/codespaces.md+++ b/docs/installation/codespaces.md@@ -1,5 +1,7 @@# Running SWE-agent in your browser+Running SWE-agent in your browser is the easiest way to try out our project.+<video controls><source src=" https://github.com/princeton-nlp/SWE-agent/assets/13602468/44d60674-59ca-4986-9b22-7052a45cbed9" type="video/mp4"></video>diff --git a/docs/installation/source.md b/docs/installation/source.mdindex 60a51d1a..a00be08c 100644--- a/docs/installation/source.md+++ b/docs/installation/source.md@@ -1,5 +1,7 @@# Installation from source+Installation from source is the preferred way to set up SWE-agent on your machine.+!!! warning "Issues on Windows"Expect some issues with Windows (we're working on them).In the meantime, use Docker (see below).diff --git a/docs/usage/cl_tutorial.md b/docs/usage/cl_tutorial.mdindex 70a12c25..d38390f3 100644--- a/docs/usage/cl_tutorial.md+++ b/docs/usage/cl_tutorial.md@@ -44,13 +44,11 @@ git clone [email protected]:SWE-agent/test-repo.gitand then run-```bash+```bash hl_lines="2 3 5"python run.py \- --model_name gpt4 \--data_path /path/to/test-repo/problem_statements/1.md \--repo_path /path/to/test-repo \--config_file config/default_from_url.yaml \- --per_instance_cost_limit 2.00 \--apply_patch_locally```@@ -85,7 +83,7 @@ In most circumstances, GPT4 will attempt to install the package and requirementsLet's try it:-```bash+```bash hl_lines="4"python run.py \--data_path https://github.com/SWE-agent/test-repo/issues/22 \--config_file config/default_from_url.yaml \diff --git a/mkdocs.yml b/mkdocs.ymlindex 404ab7e9..9008f9f3 100644--- a/mkdocs.yml+++ b/mkdocs.yml@@ -29,6 +29,7 @@ theme:- navigation.indexes- content.action.edit- navigation.footer+ - content.code.copymarkdown_extensions:- admonition