Skip to content

resolveDefaultModelSetting

resolveDefaultModelSetting(repoSetting, globalSetting): string

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

Resolve the effective default-model SETTING for a repo: the repo override unless it is “inherit” (or unset/invalid), in which case the global setting wins. The result is a global-space SETTING string (“auto” | “default” | ) — pass it through drainSpawnModel to get a spawn flag.

string | null | undefined

string

string