Get existing or create new LangSmith sandbox.
get_or_create(
self,
*,
sandbox_id: str | None = None,
timeout: int = 180,
template: str | None = None,
template_image: str | None = None,
**kwargs: Any = {}
) -> SandboxBackendProtocol| Name | Type | Description |
|---|---|---|
sandbox_id | str | None | Default: NoneOptional existing sandbox name to reuse |
timeout | int | Default: 180Timeout in seconds for sandbox startup (default: 180) |
template | str | None | Default: NoneTemplate name for the sandbox |
template_image | str | None | Default: NoneDocker image for the template |
**kwargs | Any | Default: {}Additional LangSmith-specific parameters |