From 86c590cdc345e24c315657705e11988fe6ab5d5d Mon Sep 17 00:00:00 2001 From: Wolf Noble <1680659+wolfspyre@users.noreply.github.com> Date: Sun, 26 Oct 2025 10:21:38 -0500 Subject: [PATCH] feat: Expose session_id to sandbox/runtime container (#10863) --- openhands/runtime/impl/docker/docker_runtime.py | 1 + 1 file changed, 1 insertion(+) diff --git a/openhands/runtime/impl/docker/docker_runtime.py b/openhands/runtime/impl/docker/docker_runtime.py index 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', } )