Support docker_runtime_kwargs dict (#7025)

This commit is contained in:
Christopher Pereira
2025-02-28 17:19:36 -03:00
committed by GitHub
parent 2eec4cea6f
commit de4cf07d4d

View File

@@ -72,7 +72,7 @@ class SandboxConfig(BaseModel):
close_delay: int = Field(default=15)
remote_runtime_resource_factor: int = Field(default=1)
enable_gpu: bool = Field(default=False)
docker_runtime_kwargs: str | None = Field(default=None)
docker_runtime_kwargs: dict | None = Field(default=None)
selected_repo: str | None = Field(default=None)
model_config = {'extra': 'forbid'}