Ver Fonte

Fix e2b import (#5409)

Engel Nyst há 1 ano atrás
pai
commit
3314b97cb2
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      openhands/runtime/impl/e2b/sandbox.py

+ 1 - 1
openhands/runtime/impl/e2b/sandbox.py

@@ -4,7 +4,7 @@ import tarfile
 from glob import glob
 
 from e2b import Sandbox as E2BSandbox
-from e2b.sandbox import TimeoutException
+from e2b.sandbox.exception import TimeoutException
 
 from openhands.core.config import SandboxConfig
 from openhands.core.logger import openhands_logger as logger