mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 05:48:36 +08:00
Revert "Fix for issue where initial env vars are not passed to runtime" (#8624)
This commit is contained in:
parent
9254054933
commit
e2fc893cf5
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user