mirror of
https://github.com/OpenHands/OpenHands.git
synced 2026-03-22 13:47:19 +08:00
Daytona Runtime (#6863)
Signed-off-by: jsrzic <josip.srzic@gmail.com> Signed-off-by: Ivan Dagelic <dagelic.ivan@gmail.com> Co-authored-by: jsrzic <65179822+jsrzic@users.noreply.github.com>
This commit is contained in:
@@ -11,6 +11,7 @@ from openhands.core.config import AppConfig, load_app_config
|
||||
from openhands.core.logger import openhands_logger as logger
|
||||
from openhands.events import EventStream
|
||||
from openhands.runtime.base import Runtime
|
||||
from openhands.runtime.impl.daytona.daytona_runtime import DaytonaRuntime
|
||||
from openhands.runtime.impl.docker.docker_runtime import DockerRuntime
|
||||
from openhands.runtime.impl.local.local_runtime import LocalRuntime
|
||||
from openhands.runtime.impl.remote.remote_runtime import RemoteRuntime
|
||||
@@ -130,6 +131,8 @@ def get_runtime_classes() -> list[type[Runtime]]:
|
||||
return [RemoteRuntime]
|
||||
elif runtime.lower() == 'runloop':
|
||||
return [RunloopRuntime]
|
||||
elif runtime.lower() == 'daytona':
|
||||
return [DaytonaRuntime]
|
||||
else:
|
||||
raise ValueError(f'Invalid runtime: {runtime}')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user