From d46d99a35e37ae08ee68ffdf045caea30f020c07 Mon Sep 17 00:00:00 2001 From: tofarr Date: Thu, 13 Feb 2025 16:39:22 +0000 Subject: [PATCH] More effective remote runtime identification (#6714) --- openhands/runtime/impl/remote/remote_runtime.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openhands/runtime/impl/remote/remote_runtime.py b/openhands/runtime/impl/remote/remote_runtime.py index 56b0ec28ca..0340f7d0a0 100644 --- a/openhands/runtime/impl/remote/remote_runtime.py +++ b/openhands/runtime/impl/remote/remote_runtime.py @@ -308,7 +308,7 @@ class RemoteRuntime(ActionExecutionClient): self.log('debug', f'Waiting for runtime to be alive at url: {self.runtime_url}') with self._send_runtime_api_request( 'GET', - f'{self.config.sandbox.remote_runtime_api_url}/sessions/{self.sid}', + f'{self.config.sandbox.remote_runtime_api_url}/runtime/{self.runtime_id}', ) as runtime_info_response: runtime_data = runtime_info_response.json() assert 'runtime_id' in runtime_data