ai-sdk-harness
API reference

ai-sdk-sandbox-runtime

The options of createSrtNetworkSandboxSession and resumeSrtNetworkSandboxSession, generated from the source.

createSrtNetworkSandboxSession(options)

Creates a sandbox on this host, behind srt, and returns an SrtNetworkSandboxSession on it. Besides the settings below, it takes sandboxId, template and abortSignal.

Prop

Type

resumeSrtNetworkSandboxSession(options)

Reattaches to an existing sandbox. Besides the settings below, it takes sandboxId (required) and abortSignal. Throws SrtSandboxNotFoundError when no sandbox has that id.

Prop

Type

runtime

The settings of srt itself, shared by every sandbox of the process.

Prop

Type

On this page