Documentation / @agentick/shared / getEffectiveModelInfo
Function: getEffectiveModelInfo() ​
getEffectiveModelInfo(
adapterMetadata?,modelId?):ModelInfo|undefined
Defined in: model-catalog.ts:987
Get effective model info by merging adapter metadata with catalog.
Priority:
- Adapter-provided values (source of truth)
- Runtime registry
- Static MODEL_CATALOG
Parameters ​
adapterMetadata? ​
Metadata from the adapter (if available)
modelId? ​
string
Model ID to look up in catalog (fallback)
Returns ​
ModelInfo | undefined
Merged model info, or undefined if nothing found