π OpenHands: AI-Driven Development
Fix: apply config arguments for miniwob get_sandbox() from loaded config (#3198)
tobitege70dd70541863
diff --git a/evaluation/miniwob/run_infer.py b/evaluation/miniwob/run_infer.pyindex 9218ac56d9..ad59ad6492 100644--- a/evaluation/miniwob/run_infer.py+++ b/evaluation/miniwob/run_infer.py@@ -33,7 +33,14 @@ docker_ssh_box: DockerSSHBox | None = Nonedef get_sandbox():global docker_ssh_boxif docker_ssh_box is None:- docker_ssh_box = DockerSSHBox()+ docker_ssh_box = DockerSSHBox(+ config=config.sandbox,+ persist_sandbox=False,+ workspace_mount_path=config.workspace_mount_path,+ sandbox_workspace_dir=config.workspace_mount_path_in_sandbox,+ cache_dir=config.cache_dir,+ run_as_devin=config.run_as_devin,+ )return docker_ssh_box