LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • Client
  • AsyncClient
  • Run Helpers
  • Run Trees
  • Evaluation
  • Schemas
  • Utilities
  • Wrappers
  • Anonymizer
  • Testing
  • Expect API
  • Middleware
  • Pytest Plugin
  • Deployment SDK
⌘I

LangChain Assistant

Ask a question to get started

Enter to send•Shift+Enter new line

Menu

OverviewClientAsyncClientRun HelpersRun TreesEvaluationSchemasUtilitiesWrappersAnonymizerTestingExpect APIMiddlewarePytest PluginDeployment SDK
Language
Theme
Pythonlangsmithtypessandboxesbox_update_paramsBoxUpdateParams
Classā—Since v0.14

BoxUpdateParams

Copy
BoxUpdateParams()

Bases

TypedDict

Constructors

Attributes

View source on GitHub
constructor
__init__
NameType
cpu_millicoresint
delete_after_stop_secondsint
fs_capacity_bytesint
idle_ttl_secondsint
mem_bytesint
body_nameAnnotated[str, PropertyInfo(alias='name')]
proxy_configProxyConfig
run_configRunConfig
tag_value_idsSequenceNotStr[str]
vcpusint
attribute
cpu_millicores: int
attribute
delete_after_stop_seconds: int
attribute
fs_capacity_bytes: int
attribute
idle_ttl_seconds: int
attribute
mem_bytes: int

New memory for the sandbox, in bytes.

The 4 GiB per vCPU ratio applies when the sandbox is created; a resize enforces only the maximum of 64 GiB.

attribute
body_name: Annotated[str, PropertyInfo(alias='name')]
attribute
proxy_config: ProxyConfig
attribute
run_config: RunConfig

RunConfig changes what subsequent commands run with: user and work_dir replace the current values, env_vars merge over them. Commands already running are unaffected.

attribute
tag_value_ids: SequenceNotStr[str]
attribute
vcpus: int