π OpenHands: AI-Driven Development
feat: Expose session_id to sandbox/runtime container (#10863)
Wolf Noble86c590cdc345
diff --git a/openhands/runtime/impl/docker/docker_runtime.py b/openhands/runtime/impl/docker/docker_runtime.pyindex 0dfc1e8946..b5eb4c5735 100644--- a/openhands/runtime/impl/docker/docker_runtime.py+++ b/openhands/runtime/impl/docker/docker_runtime.py@@ -466,6 +466,7 @@ class DockerRuntime(ActionExecutionClient):'VSCODE_PORT': str(self._vscode_port),'APP_PORT_1': str(self._app_ports[0]),'APP_PORT_2': str(self._app_ports[1]),+ 'OPENHANDS_SESSION_ID': str(self.sid),'PIP_BREAK_SYSTEM_PACKAGES': '1',})