Increase sandbox close delay in sandbox_config.py to 3600 seconds (#8889)

Co-authored-by: Robert Brennan <accounts@rbren.io>
This commit is contained in:
Anton Sokolchenko 2025-06-04 20:12:32 +02:00 committed by GitHub
parent 3c977bd715
commit a933a81ef5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -73,7 +73,10 @@ class SandboxConfig(BaseModel):
runtime_startup_env_vars: dict[str, str] = Field(default_factory=dict)
browsergym_eval_env: str | None = Field(default=None)
platform: str | None = Field(default=None)
close_delay: int = Field(default=15)
close_delay: int = Field(
default=3600,
description='The delay in seconds before closing the sandbox after the agent is done.',
)
remote_runtime_resource_factor: int = Field(default=1)
enable_gpu: bool = Field(default=False)
docker_runtime_kwargs: dict | None = Field(default=None)