patch fo reval

This commit is contained in:
Xingyao Wang
2024-10-15 12:45:02 +00:00
parent b468dddb52
commit d8314fb854

View File

@@ -58,7 +58,7 @@ class RemoteRuntime(Runtime):
):
self.config = config
if self.config.sandbox.api_hostname == 'localhost':
self.config.sandbox.api_hostname = 'api.all-hands.dev/v0/runtime'
self.config.sandbox.api_hostname = 'runtime.eval.all-hands.dev'
logger.warning(
'Using localhost as the API hostname is not supported in the RemoteRuntime. Please set a proper hostname.\n'
'Setting it to default value: api.all-hands.dev/v0/runtime'