Optionaloptions: AcquireOptionsStop admission, cancel idle timers, wait for loads in flight and release every checkpoint. Idempotent.
The model the host serves an operation with when the caller names none: the one the user configured, else the first local model that declares it.
Load a model now without leasing it (--preload); it then follows the idle policy from its next lease.
Optionalid: stringMakes id the model defaultFor("generate") answers, loading it beside the resident ones when it fits, else in place of the least recently used unpinned one (its state is saved and resumes on return). Rejects with not-found for an id that is not a local model, not-switchable on a host that holds one model, and otherwise as acquire does.
Optionaloptions: { signal?: AbortSignal }Drains, optionally flushes state (default true), then releases. Rejects with in-use while a lease is held unless force; a model that is not resident resolves.
Optionaloptions: { flush?: boolean; force?: boolean }
ModelHostfor Whisper checkpoints, plus what the composing host needs beyond the contract:preloadandclose.