Worker is the supported runtime interface for one Devin Outposts outpost.
Constructor
string
required
Durable name for this deployment. It must contain a non-whitespace character.
string
required
Devin Outposts outpost ID.
string
default:"https://api.beta.devinenterprise.com"
Devin API base URL. Credentials, query strings, and fragments are rejected.
WorkerSettings | None
default:"None"
Validated runtime policy. Defaults to
WorkerSettings().Worker.from_env()
MODAL_DEVIN_* environment
variables.
Properties
controller_image()
base_image()
/root/workspace.
prepare_image()
run_session()
string
required
Devin session ID supplied by the scheduler.
modal.App
required
Deployed Modal application.
modal.Image
required
Prepared workspace image for a new session.
modal.Sandbox.create,
including resources and region. Positional commands and the managed timeout,
workdir, and readiness_probe options are rejected.
The containing function must receive the configured Devin credential.