Sandbox: E2B
Prerequisites
Setup
from gllm_tools.code_interpreter.code_sandbox.e2b_sandbox import E2BSandbox
sandbox = await E2BSandbox.create(
api_key="your-e2b-api-key",
additional_packages=["pandas", "matplotlib"], # installed via pip on creation
)Constructor Parameters
Parameter
Type
Default
Description
Full Example
With SandboxCodeInterpreter
Notes
Last updated
Was this helpful?