Function: resolveModel()
resolveModel(
endpoints,input?):ResolvedModelSelection
Resolve a single model id from the live catalogue and caller intent,
delegating the live selection to rankModels with limit: 1.
- Explicit ask: with
fuzzyoff, returned verbatim; otherwise fuzzy-ranked within the (optional) class ceiling and the best taken, falling back to the input verbatim when nothing matches. - No explicit ask: an operator-pinned
fallbackthat exists in the live catalogue wins first; then the ranked live catalogue (class ceiling applied); then the static FALLBACK_MODEL_IDS floor when the catalogue yields nothing in range.
Parameters
Section titled “Parameters”endpoints
Section titled “endpoints”readonly object[]
input?
Section titled “input?”ResolveModelInput = {}