π OpenHands: AI-Driven Development
Revert "Fix for issue where initial env vars are not passed to runtime" (#8624)
tofarr2bd10de636b7
diff --git a/openhands/runtime/impl/remote/remote_runtime.py b/openhands/runtime/impl/remote/remote_runtime.pyindex ae47137807..746a53f3ab 100644--- a/openhands/runtime/impl/remote/remote_runtime.py+++ b/openhands/runtime/impl/remote/remote_runtime.py@@ -239,7 +239,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.initial_env_vars)+ environment.update(self.config.sandbox.runtime_startup_env_vars)start_request: dict[str, Any] = {'image': self.container_image,'command': command,