Skip to content

πŸ™Œ OpenHands: AI-Driven Development

chore: Make remote runtime class default to None (#6919)

Xingyao Wang0217a7cfbd6b
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)