Skip to content

πŸ™Œ OpenHands: AI-Driven Development

More effective remote runtime identification (#6714)

tofarrd46d99a35e37
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