From 0217a7cfbd6b2960838e6a2a4c24e9c1b211a27a Mon Sep 17 00:00:00 2001 From: Xingyao Wang Date: Mon, 24 Feb 2025 12:51:48 -0500 Subject: [PATCH] chore: Make remote runtime class default to None (#6919) --- openhands/core/config/sandbox_config.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/openhands/core/config/sandbox_config.py b/openhands/core/config/sandbox_config.py index 7c1b1adaba..820c33c70a 100644 --- a/openhands/core/config/sandbox_config.py +++ b/openhands/core/config/sandbox_config.py @@ -53,11 +53,11 @@ class SandboxConfig(BaseModel): remote_runtime_api_timeout: int = Field(default=10) remote_runtime_enable_retries: bool = Field(default=False) remote_runtime_class: str | None = Field( - default='sysbox' + default=None ) # can be "None" (default to gvisor) or "sysbox" (support docker inside runtime + more stable) enable_auto_lint: bool = Field( - default=False # once enabled, OpenHands would lint files after editing - ) + default=False + ) # once enabled, OpenHands would lint files after editing use_host_network: bool = Field(default=False) runtime_extra_build_args: list[str] | None = Field(default=None) initialize_plugins: bool = Field(default=True)