From 06e45afc75dfa75106f90aed44378b5fd1aaa01c Mon Sep 17 00:00:00 2001 From: Boxuan Li Date: Fri, 31 May 2024 22:31:32 -0700 Subject: [PATCH] Fix ssh box hung issue (#2172) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: மனோஜ்குமார் பழனிச்சாமி --- opendevin/runtime/docker/ssh_box.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/opendevin/runtime/docker/ssh_box.py b/opendevin/runtime/docker/ssh_box.py index 7d1503ee19..c4ea4aa2a4 100644 --- a/opendevin/runtime/docker/ssh_box.py +++ b/opendevin/runtime/docker/ssh_box.py @@ -403,9 +403,6 @@ class DockerSSHBox(Sandbox): # cd to workspace self.ssh.sendline(f'cd {self.sandbox_workspace_dir}') self.ssh.prompt() - # load bashrc - self.ssh.sendline('source ~/.bashrc') - self.ssh.prompt() def get_exec_cmd(self, cmd: str) -> list[str]: if self.run_as_devin: