Skip to main content

SandboxConfig

Defined in the config module.
Configuration for sandbox execution. Attributes: sandbox_type: Type of sandbox (docker, subprocess, e2b) image: Docker image to use (for docker sandbox) working_dir: Working directory within sandbox env: Environment variables resource_limits: Resource limits security_policy: Security policy auto_cleanup: Whether to auto-cleanup after execution persist_files: Whether to persist files between executions mount_paths: Paths to mount into sandbox (host:container) metadata: Additional configuration

Properties

sandbox_type
str
No description available.
image
str
No description available.
working_dir
str
No description available.
env
Dict
No description available.
resource_limits
ResourceLimits
No description available.
security_policy
SecurityPolicy
No description available.
auto_cleanup
bool
No description available.
persist_files
bool
No description available.
mount_paths
List
No description available.
metadata
Dict
No description available.

Methods

  • to_dict: Convert to dictionary.