Skip to content

Commit

Permalink
change to work_hosts
Browse files Browse the repository at this point in the history
  • Loading branch information
rbren committed Jan 1, 2025
1 parent aaa0b22 commit 33cbc1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openhands/runtime/impl/remote/remote_runtime.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ def _parse_runtime_response(self, response: requests.Response):
self.runtime_id = start_response['runtime_id']
self.runtime_url = start_response['url']
print('RESP', start_response)
self.available_hosts = start_response.get('work_ports', [])
self.available_hosts = start_response.get('work_hosts', {})

if 'session_api_key' in start_response:
self.session.headers.update(
Expand Down

0 comments on commit 33cbc1e

Please sign in to comment.