Skip to main content
Version: Next

DefaultRunOptions

The default settings applied to an Actor run. Can be overridden elsewhere.

Index

Properties

build

build: str | None

Which build to run. Either a build tag or a version number.

force_permission_level

force_permission_level: ActorPermissionLevel | None

is_max_total_charge_usd_set_by_user

is_max_total_charge_usd_set_by_user: bool | None

Whether maxTotalChargeUsd was set explicitly by the user.

max_items

max_items: int | None

Maximum number of items the run might produce.

max_total_charge_usd

max_total_charge_usd: float | None

Maximum cost in USD that a pay-per-event run can charge to the user.

memory_mbytes

memory_mbytes: int | None

In MB, the amount of memory allocated to the run.

model_config

model_config: Undefined

restart_on_error

restart_on_error: bool | None

Whether to automatically restart the run if it fails.

timeout_secs

timeout_secs: int | None

Timeout in seconds. 0 if no timeout.