File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 2
2
import uuid
3
3
4
4
from opendevin .core .logger import opendevin_logger as logger
5
- from opendevin .runtime .docker .ssh_box import DockerSSHBox
5
+ from opendevin .runtime .docker .ssh_box import SANDBOX_WORKSPACE_DIR , DockerSSHBox
6
6
from opendevin .runtime .plugins import JupyterRequirement , SWEAgentCommandsRequirement
7
7
8
8
SWE_BENCH_CONTAINER_IMAGE = 'ghcr.io/xingyaoww/eval-swe-bench-all:lite-v1.0'
@@ -47,7 +47,13 @@ def __init__(
47
47
48
48
@property
49
49
def volumes (self ):
50
- return {** super ().volumes }
50
+ # remove the default workspace mounting SANDBOX_WORKSPACE_DIR
51
+ volumes = {
52
+ k : v
53
+ for k , v in super ().volumes .items ()
54
+ if not v ['bind' ] == SANDBOX_WORKSPACE_DIR
55
+ }
56
+ return volumes
51
57
52
58
@classmethod
53
59
def get_box_for_instance (
You can’t perform that action at this time.
0 commit comments