Skip to content

drainSpawnModel

drainSpawnModel(setting): string | null

Defined in: src/default-model.ts:39

Map a SETTING string to the spawn-ready model value passed to service.create(). “auto” and “default” both resolve to null (no —model flag). Any model alias passes through unchanged.

string

string | null