Skip to content

spawnModelForAvailability

spawnModelForAvailability(model, fableAvailable): string | null

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

Spawn-time fallback: when fable is globally unavailable, an explicit fable request runs Opus with 1M context instead. Capability-faithful substitute (fable is for the longest-horizon work; plain opus caps at 200K). Pure — callers do the logging.

string | null

boolean

string | null