Protected
Readonly
_readyProtected
aliasesReadonly
onEvent that is fired when the alias list changes.
Protected
Readonly
onProtected
Readonly
preferencePromise that resolves when the registry is ready for use (preferences loaded).
Add a new alias or update an existing one.
Get all aliases.
Protected
initProtected
loadResolve an alias or model id to a prioritized list of model ids. If the id is not an alias, returns [id]. If the alias exists and has a selectedModelId, returns [selectedModelId]. If the alias exists and has no selectedModelId, returns defaultModelIds. If the alias does not exist, returns undefined.
Protected
save
Registry for managing language model aliases.