π OpenHands: AI-Driven Development
Fix for issue where initial env vars are not passed to runtime (#8597)
tofarr3873d9f0027f
diff --git a/openhands/runtime/impl/remote/remote_runtime.py b/openhands/runtime/impl/remote/remote_runtime.pyindex 5d5324f1b7..ba0469381e 100644--- a/openhands/runtime/impl/remote/remote_runtime.py+++ b/openhands/runtime/impl/remote/remote_runtime.py@@ -237,7 +237,7 @@ class RemoteRuntime(ActionExecutionClient):environment: dict[str, str] = {}if self.config.debug or os.environ.get('DEBUG', 'false').lower() == 'true':environment['DEBUG'] = 'true'- environment.update(self.config.sandbox.runtime_startup_env_vars)+ environment.update(self.initial_env_vars)start_request: dict[str, Any] = {'image': self.container_image,'command': command,