Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Arch] Removing docker exec box #2802

Merged
merged 4 commits into from
Jul 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ghcr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ jobs:
fail-fast: false
matrix:
python-version: ["3.11"]
sandbox: ["ssh", "exec", "local"]
sandbox: ["ssh", "local"]
steps:
- uses: actions/checkout@v4

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/review-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
env:
LLM_API_KEY: ${{ secrets.OPENAI_API_KEY }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
SANDBOX_TYPE: exec
SANDBOX_TYPE: ssh
run: |
# Append path to launch poetry
export PATH="/github/home/.local/bin:$PATH"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/solve-issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
echo "" >> task.txt
echo "BODY:" >> task.txt
echo "${ISSUE_BODY}" >> task.txt

- name: Set up environment
run: |
curl -sSL https://install.python-poetry.org | python3 -
Expand All @@ -50,7 +50,7 @@ jobs:
ISSUE_BODY: ${{ github.event.issue.body }}
LLM_API_KEY: ${{ secrets.OPENAI_API_KEY }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
SANDBOX_TYPE: exec
SANDBOX_TYPE: ssh
run: |
# Append path to launch poetry
export PATH="/github/home/.local/bin:$PATH"
Expand Down
2 changes: 1 addition & 1 deletion agenthub/micro/commit_writer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
CommitWriterAgent can help write git commit message. Example:

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

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

## Impossible de se connecter à LLM

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

## 无法连接到 LLM

Expand Down
1 change: 0 additions & 1 deletion docs/modules/usage/troubleshooting/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ especially Windows, this seems to fail.
* Be sure to have the latest versions of WSL and Docker
* Check that your distribution in WSL is up to date as well
* Try [this reinstallation guide](https://github.com/OpenDevin/OpenDevin/issues/1156#issuecomment-2064549427)
* Set `-e SANDBOX_TYPE=exec` to switch to the ExecBox docker container

---
### Unable to connect to LLM
Expand Down
3 changes: 1 addition & 2 deletions opendevin/runtime/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from .docker.exec_box import DockerExecBox
from .docker.local_box import LocalBox
from .docker.ssh_box import DockerSSHBox
from .e2b.sandbox import E2BBox
from .sandbox import Sandbox

__all__ = ['Sandbox', 'DockerSSHBox', 'DockerExecBox', 'E2BBox', 'LocalBox']
__all__ = ['Sandbox', 'DockerSSHBox', 'E2BBox', 'LocalBox']
Loading