Просмотр исходного кода

fix container_image when using hard-coded image (#4322)

Robert Brennan 1 год назад
Родитель
Сommit
62a58ea5d3
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      openhands/runtime/remote/runtime.py

+ 1 - 0
openhands/runtime/remote/runtime.py

@@ -107,6 +107,7 @@ class RemoteRuntime(Runtime):
                 logger.info(
                     f'Running remote runtime with image: {self.config.sandbox.runtime_container_image}'
                 )
+                self.container_image = self.config.sandbox.runtime_container_image
             self._start_runtime(plugins)
         assert (
             self.runtime_id is not None