Interface: ModelCatalog¶
Defined in: core/src/model-catalog.ts:47
Built-in profiles merged with the project's models.profiles.
Properties¶
profiles¶
readonlyprofiles: readonlyModelProfile[]
Defined in: core/src/model-catalog.ts:49
Every profile: built-in entries first, then custom ones in config order
Methods¶
getLatest()¶
getLatest(
family):ModelProfile|undefined
Defined in: core/src/model-catalog.ts:53
Newest non-retired release of a family
Parameters¶
family¶
string
Returns¶
ModelProfile | undefined
getProfile()¶
getProfile(
id):ModelProfile|undefined
Defined in: core/src/model-catalog.ts:51
Find a profile by id (case-insensitive)
Parameters¶
id¶
string
Returns¶
ModelProfile | undefined
getReplacement()¶
getReplacement(
id):ModelProfile|undefined
Defined in: core/src/model-catalog.ts:61
Replacement for a profile, found by following successor links until a current release. Undefined when the chain has no current release: no successor, a missing one, or a loop.
Parameters¶
id¶
string
Returns¶
ModelProfile | undefined
resolve()¶
resolve(
reference):ModelResolution|undefined
Defined in: core/src/model-catalog.ts:55
Resolve a profile id, floating alias, alias, API id, or display name
Parameters¶
reference¶
string
Returns¶
ModelResolution | undefined