From 6c354671da90c8e346380ef11418c3ad8faf3a67 Mon Sep 17 00:00:00 2001 From: Zhichao Date: Tue, 24 Sep 2024 18:18:05 +0800 Subject: [PATCH] fix: remote path default to WORKSPACE, keep in sync with local path (#247) 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: