Skip to content

πŸ™Œ OpenHands: AI-Driven Development

Remove PERSIST_SANDBOX=true option (#2591)

mamoodi9af2a08edaa0
diff --git a/Development.md b/Development.md
index 323cc74e3d..de5c24b719 100644
--- a/Development.md
+++ b/Development.md
@@ -44,7 +44,6 @@ To configure the LM of your choice, run:
```
This command will prompt you to enter the LLM API key, model name, and other variables ensuring that OpenDevin is tailored to your specific needs. Note that the model name will apply only when you run headless. If you use the UI, please set the model in the UI.
- Set `persist_sandbox` to false if you want to use a clean sandbox for each task. If `persist_sandbox` is set to true, you will need to set the `ssh_password` as well.
Note: If you have previously run OpenDevin using the docker command, you may have already set some environmental variables in your terminal. The final configurations are set from highest to lowest priority:
Environment variables > config.toml variables > default variables
diff --git a/README.md b/README.md
index f75dfb04d3..0af171a78c 100644
--- a/README.md
+++ b/README.md
@@ -58,8 +58,6 @@ WORKSPACE_BASE=$(pwd)/workspace
docker run -it \
--pull=always \
-e SANDBOX_USER_ID=$(id -u) \
- -e PERSIST_SANDBOX="true" \
- -e SSH_PASSWORD="make something up here" \
-e WORKSPACE_MOUNT_PATH=$WORKSPACE_BASE \
-v $WORKSPACE_BASE:/opt/workspace_base \
-v /var/run/docker.sock:/var/run/docker.sock \
diff --git a/docs/modules/usage/intro.mdx b/docs/modules/usage/intro.mdx
index db0e145a14..757dbfdcbf 100644
--- a/docs/modules/usage/intro.mdx
+++ b/docs/modules/usage/intro.mdx
@@ -72,8 +72,6 @@ WORKSPACE_BASE=$(pwd)/workspace
docker run -it \
--pull=always \
-e SANDBOX_USER_ID=$(id -u) \
- -e PERSIST_SANDBOX="true" \
- -e SSH_PASSWORD="make something up here" \
-e WORKSPACE_MOUNT_PATH=$WORKSPACE_BASE \
-v $WORKSPACE_BASE:/opt/workspace_base \
-v /var/run/docker.sock:/var/run/docker.sock \