Skip to content

Variable: ResolveModelInputSchema

const ResolveModelInputSchema: ZodObject<{ explicit: ZodOptional<ZodString>; fallbacks: ZodOptional<ZodArray<ZodString>>; fuzzy: ZodOptional<ZodBoolean>; liveOnly: ZodOptional<ZodBoolean>; modelClass: ZodOptional<ZodEnum<{ chat-balanced: "chat-balanced"; chat-fast: "chat-fast"; chat-thinking: "chat-thinking"; embedding: "embedding"; }>>; requiresTools: ZodOptional<ZodBoolean>; threshold: ZodOptional<ZodNumber>; }, $strip>

Caller intent used to resolve one model from a catalogue.

  • explicit (optional): Exact model id or display name supplied by the caller.
  • fuzzy (optional): When true, unmatched explicit values may fuzzy-match.
  • threshold (optional): Minimum fuzzy-match score in the range 0 to 1.
  • requiresTools (optional): When true, only tool-capable endpoints may be selected.
  • modelClass (optional): Preferred intent-oriented class when no explicit model matches.
  • fallbacks (optional): Ordered model ids tried after class selection fails.
  • liveOnly (optional): When true, skip endpoints that are not currently ready.