Skip to content

normalizeRepoDefaultModelSetting

normalizeRepoDefaultModelSetting(value): string | null

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

Normalize a per-repo default-model override to a valid REPO SETTING string, or null if unrecognised. Accepted: “inherit” plus everything the global setting accepts (“auto”, “default”, each MODELS alias). “inherit” (the default) means the repo defers to the global default.

unknown

string | null