add warning for workspace base on remote runtime

This commit is contained in:
Xingyao Wang
2024-08-28 15:36:40 -05:00
parent c00f9e77a1
commit c22f6c7c31

View File

@@ -62,6 +62,11 @@ class RemoteRuntime(Runtime):
self.action_semaphore = asyncio.Semaphore(1) # Ensure one action at a time
if self.config.workspace_base is not None:
logger.warning(
'Setting workspace_base is not supported in the remote runtime.'
)
assert (
self.config.sandbox.api_key is not None
), 'API key is required to use the remote runtime.'