Skip to content

πŸ™Œ OpenHands: AI-Driven Development

Fix debug in remote runtime (#6688)

Robert Brennan1afe7f10585d
diff --git a/openhands/runtime/impl/remote/remote_runtime.py b/openhands/runtime/impl/remote/remote_runtime.py
index f33acedbf4..c54bb69dbd 100644
--- a/openhands/runtime/impl/remote/remote_runtime.py
+++ b/openhands/runtime/impl/remote/remote_runtime.py
@@ -215,7 +215,7 @@ class RemoteRuntime(ActionExecutionClient):
environment = {
'DEBUG': 'true'
if self.config.debug or os.environ.get('DEBUG', 'false').lower() == 'true'
- else {},
+ else '',
}
environment.update(self.config.sandbox.runtime_startup_env_vars)
start_request = {