mirror of
https://github.com/All-Hands-AI/OpenHands.git
synced 2026-01-09 14:57:59 -05:00
Fix for issue where initial env vars are not passed to runtime (#8597)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user