SandboxConfig Type
Configuration for the execution sandbox
Record fields
| Record Field |
Description
|
Full Usage:
AllowFileSystem
Field type: bool
|
Whether the agent can access the filesystem
|
Full Usage:
AllowNetwork
Field type: bool
|
Whether the agent can access the network
|
Full Usage:
AllowedPaths
Field type: string list
|
Allowed filesystem paths (only relevant if AllowFileSystem is true)
|
|
Environment variables available to the agent
|
|
Isolation level
|
|
Resource budget for this execution
|
Full Usage:
WorkingDirectory
Field type: string option
|
Working directory for file operations (if any)
|
Static members
| Static member |
Description
|
|
|
Full Usage:
SandboxConfig.Restricted(limits)
Parameters:
ResourceLimits
Returns: SandboxConfig
|
|
Nao