Skip to content

Function: resolveModel()

resolveModel(endpoints, input?): object

Resolve a single model id from a catalogue and caller intent.

readonly object[]

string = ...

string[] = ...

boolean = ...

boolean = ...

"chat-thinking" | "chat-balanced" | "chat-fast" | "embedding" = ...

boolean = ...

number = ...

object

modelId: string

source: "class" | "explicit" | "fuzzy-match" | "fallback"