Function: resolveModel()
resolveModel(
endpoints,input?):object
Resolve a single model id from a catalogue and caller intent.
Parameters
Section titled “Parameters”endpoints
Section titled “endpoints”readonly object[]
input?
Section titled “input?”explicit?
Section titled “explicit?”string = ...
fallbacks?
Section titled “fallbacks?”string[] = ...
fuzzy?
Section titled “fuzzy?”boolean = ...
liveOnly?
Section titled “liveOnly?”boolean = ...
modelClass?
Section titled “modelClass?”"chat-thinking" | "chat-balanced" | "chat-fast" | "embedding" = ...
requiresTools?
Section titled “requiresTools?”boolean = ...
threshold?
Section titled “threshold?”number = ...
Returns
Section titled “Returns”object
modelId
Section titled “modelId”modelId:
string
source
Section titled “source”source:
"class"|"explicit"|"fuzzy-match"|"fallback"