Interface: ModelProfileInput¶
Defined in: core/src/types/models.ts:28
Model profile declared in promptscript.yaml.
A key of models.profiles that matches a built-in profile id overrides only the fields it sets. Any other key adds a new profile, so a team can use a model before PromptScript ships it in the built-in catalog.
Example¶
models:
profiles:
claude-opus-9:
provider: anthropic
family: claude-opus
version: '9'
displayName: Claude Opus 9
apiId: claude-opus-9
releaseDate: '2027-01-15'
Properties¶
aliases?¶
optionalaliases?:string[]
Defined in: core/src/types/models.ts:43
Additional names that resolve to this profile
apiId?¶
optionalapiId?:string
Defined in: core/src/types/models.ts:41
Provider API model identifier
displayName?¶
optionaldisplayName?:string
Defined in: core/src/types/models.ts:39
Human-readable name (e.g. 'Claude Opus 4.5')
family?¶
optionalfamily?:string
Defined in: core/src/types/models.ts:35
Family grouping the versions of one model line (e.g. 'claude-opus'). The newest non-retired release of a family backs its floating alias.
provider?¶
optionalprovider?:string
Defined in: core/src/types/models.ts:30
Model provider (e.g. 'anthropic', 'openai', 'google', 'xai')
releaseDate?¶
optionalreleaseDate?:string
Defined in: core/src/types/models.ts:49
Release date in YYYY-MM-DD format
retirementDate?¶
optionalretirementDate?:string
Defined in: core/src/types/models.ts:51
Date the provider stops (or stopped) serving the model, in YYYY-MM-DD format
status?¶
optionalstatus?:ModelStatus
Defined in: core/src/types/models.ts:45
Lifecycle status
successor?¶
optionalsuccessor?:string
Defined in: core/src/types/models.ts:47
Profile id of the recommended replacement
targets?¶
optionaltargets?:Record\<string,string>
Defined in: core/src/types/models.ts:61
Native model names per target. A target listed here always receives this name, even when its naming scheme or provider list would not map the model. Keys are target names, matched case-insensitively. Only targets that write a native model field use them; validation reports other keys.
Example¶
version?¶
optionalversion?:string
Defined in: core/src/types/models.ts:37
Version inside the family (e.g. '4.5')