Merge PR #687: fix(file_tools): pass docker_volumes to sandbox container config
Authored by manuelschipper. Adds missing docker_volumes key to container_config in file_tools.py, matching terminal_tool.py. Without this, Docker sandbox containers created by file operations lack user volume mounts when file tools run before terminal.
This commit is contained in:
commit
a2ea85924a
1 changed files with 1 additions and 0 deletions
|
|
@ -91,6 +91,7 @@ def _get_file_ops(task_id: str = "default") -> ShellFileOperations:
|
|||
"container_memory": config.get("container_memory", 5120),
|
||||
"container_disk": config.get("container_disk", 51200),
|
||||
"container_persistent": config.get("container_persistent", True),
|
||||
"docker_volumes": config.get("docker_volumes", []),
|
||||
}
|
||||
terminal_env = _create_environment(
|
||||
env_type=env_type,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue