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]

Codespaces: Fix: don't overwrite bashrc (#288)

Kilian Lieret5ef275157b30
diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json
index d80e7ebf..d484daf2 100644
--- a/.devcontainer/devcontainer.json
+++ b/.devcontainer/devcontainer.json
@@ -9,7 +9,7 @@
"ms-azuretools.vscode-docker",
"ms-toolsai.jupyter"
],
- "postCreateCommand": "sudo usermod -aG docker vscode && sudo chmod 666 /var/run/docker.sock && docker pull sweagent/swe-agent && conda env create -f environment.yml && conda init && echo '\nconda activate swe-agent\n' > ~/.bashrc",
+ "postCreateCommand": "sudo usermod -aG docker vscode && sudo chmod 666 /var/run/docker.sock && docker pull sweagent/swe-agent && conda env create -f environment.yml && conda init && echo '\nconda activate swe-agent\n' >> ~/.bashrc",
"features": {
"docker-in-docker": "latest"
},