Skip to content

Commit

Permalink
fix: remote path default to WORKSPACE, keep in sync with local path (#…
Browse files Browse the repository at this point in the history
…247)

remote path default to WORKSPACE, keep in sync with local path
  • Loading branch information
yzld2002 authored Sep 24, 2024
1 parent 886bc1e commit 6c35467
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions vision_agent/utils/execute.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 6c35467

Please sign in to comment.