From 606ac2c84d0374e47fc4629cc99626e238a21977 Mon Sep 17 00:00:00 2001 From: Zhichao Date: Tue, 24 Sep 2024 18:01:02 +0800 Subject: [PATCH] remote path default to WORKSPACE, keep in sync with local path --- vision_agent/utils/execute.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/vision_agent/utils/execute.py b/vision_agent/utils/execute.py index 99159b5f..86536a47 100644 --- a/vision_agent/utils/execute.py +++ b/vision_agent/utils/execute.py @@ -464,9 +464,7 @@ def __init__( _LOGGER.info( f"E2BCodeInterpreter (sandbox id: {self.interpreter.sandbox_id}) initialized:\n{sys_versions}" ) - self.remote_path = Path( - remote_path if remote_path is not None else "/home/user" - ) + self.remote_path = Path(remote_path if remote_path is not None else WORKSPACE) def close(self, *args: Any, **kwargs: Any) -> None: try: