Skip to content

Commit 0d3b3ff

Browse files
authored
[Arch] Removing docker exec box (#2802)
* depracting docker exec box * remove doc exec from workflow and docs
1 parent e6cdf18 commit 0d3b3ff

File tree

13 files changed

+92
-554
lines changed

13 files changed

+92
-554
lines changed

.github/workflows/ghcr.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ jobs:
132132
fail-fast: false
133133
matrix:
134134
python-version: ["3.11"]
135-
sandbox: ["ssh", "exec", "local"]
135+
sandbox: ["ssh", "local"]
136136
steps:
137137
- uses: actions/checkout@v4
138138

.github/workflows/review-pr.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
env:
5656
LLM_API_KEY: ${{ secrets.OPENAI_API_KEY }}
5757
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
58-
SANDBOX_TYPE: exec
58+
SANDBOX_TYPE: ssh
5959
run: |
6060
# Append path to launch poetry
6161
export PATH="/github/home/.local/bin:$PATH"

.github/workflows/solve-issue.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
echo "" >> task.txt
3636
echo "BODY:" >> task.txt
3737
echo "${ISSUE_BODY}" >> task.txt
38-
38+
3939
- name: Set up environment
4040
run: |
4141
curl -sSL https://install.python-poetry.org | python3 -
@@ -50,7 +50,7 @@ jobs:
5050
ISSUE_BODY: ${{ github.event.issue.body }}
5151
LLM_API_KEY: ${{ secrets.OPENAI_API_KEY }}
5252
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
53-
SANDBOX_TYPE: exec
53+
SANDBOX_TYPE: ssh
5454
run: |
5555
# Append path to launch poetry
5656
export PATH="/github/home/.local/bin:$PATH"

agenthub/micro/commit_writer/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
CommitWriterAgent can help write git commit message. Example:
44

55
```bash
6-
WORKSPACE_MOUNT_PATH="`PWD`" SANDBOX_TYPE="exec" \
6+
WORKSPACE_MOUNT_PATH="`PWD`" SANDBOX_TYPE="ssh" \
77
poetry run python opendevin/core/main.py -t "dummy task" -c CommitWriterAgent -d ./
88
```
99

docs/i18n/fr/docusaurus-plugin-content-docs/current/usage/troubleshooting/troubleshooting.md

-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ en particulier Windows, cela semble échouer.
6666
* Assurez-vous d'avoir les dernières versions de WSL et Docker
6767
* Vérifiez que votre distribution dans WSL est également à jour
6868
* Essayez [ce guide de réinstallation](https://github.com/OpenDevin/OpenDevin/issues/1156#issuecomment-2064549427)
69-
* Définissez `-e SANDBOX_TYPE=exec` pour passer au conteneur ExecBox de Docker
7069
7170
## Impossible de se connecter à LLM
7271

docs/i18n/zh-Hans/docusaurus-plugin-content-docs/current/usage/troubleshooting/troubleshooting.md

-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ pexpect.pxssh.ExceptionPxssh: Could not establish connection to host
6363
* 确保拥有最新版本的 WSL 和 Docker
6464
* 检查您的 WSL 分发版也已更新
6565
* 尝试[此重新安装指南](https://github.com/OpenDevin/OpenDevin/issues/1156#issuecomment-2064549427)
66-
* 设置 `-e SANDBOX_TYPE=exec` 切换到 ExecBox Docker 容器
6766

6867
## 无法连接到 LLM
6968

docs/modules/usage/troubleshooting/troubleshooting.md

-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ especially Windows, this seems to fail.
7676
* Be sure to have the latest versions of WSL and Docker
7777
* Check that your distribution in WSL is up to date as well
7878
* Try [this reinstallation guide](https://github.com/OpenDevin/OpenDevin/issues/1156#issuecomment-2064549427)
79-
* Set `-e SANDBOX_TYPE=exec` to switch to the ExecBox docker container
8079
8180
---
8281
### Unable to connect to LLM

opendevin/runtime/__init__.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
from .docker.exec_box import DockerExecBox
21
from .docker.local_box import LocalBox
32
from .docker.ssh_box import DockerSSHBox
43
from .e2b.sandbox import E2BBox
54
from .sandbox import Sandbox
65

7-
__all__ = ['Sandbox', 'DockerSSHBox', 'DockerExecBox', 'E2BBox', 'LocalBox']
6+
__all__ = ['Sandbox', 'DockerSSHBox', 'E2BBox', 'LocalBox']

0 commit comments

Comments
 (0)