mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-04-26 01:01:40 +00:00
add different polling intervals for ssh and local backends. ssh has a
longer roundtrip
This commit is contained in:
parent
879b7d3fbf
commit
e266530c7d
2 changed files with 4 additions and 1 deletions
|
|
@ -77,6 +77,8 @@ class SSHEnvironment(PersistentShellMixin, BaseEnvironment):
|
|||
except subprocess.TimeoutExpired:
|
||||
raise RuntimeError(f"SSH connection to {self.user}@{self.host} timed out")
|
||||
|
||||
_poll_interval: float = 0.15
|
||||
|
||||
@property
|
||||
def _temp_prefix(self) -> str:
|
||||
return f"/tmp/hermes-ssh-{self._session_id}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue