mirror of
https://github.com/All-Hands-AI/OpenHands.git
synced 2026-01-09 14:57:59 -05:00
feat: Expose session_id to sandbox/runtime container (#10863)
This commit is contained in:
@@ -466,6 +466,7 @@ class DockerRuntime(ActionExecutionClient):
|
|||||||
'VSCODE_PORT': str(self._vscode_port),
|
'VSCODE_PORT': str(self._vscode_port),
|
||||||
'APP_PORT_1': str(self._app_ports[0]),
|
'APP_PORT_1': str(self._app_ports[0]),
|
||||||
'APP_PORT_2': str(self._app_ports[1]),
|
'APP_PORT_2': str(self._app_ports[1]),
|
||||||
|
'OPENHANDS_SESSION_ID': str(self.sid),
|
||||||
'PIP_BREAK_SYSTEM_PACKAGES': '1',
|
'PIP_BREAK_SYSTEM_PACKAGES': '1',
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user