ResolveModelOptions
Defined in: core/src/capability.ts:177
Properties
Section titled “Properties”catalog?
Section titled “catalog?”optional catalog?: Record<string, unknown>;Defined in: core/src/capability.ts:181
Pre-loaded catalog object (useful for tests or offline execution).
catalogUrl?
Section titled “catalogUrl?”optional catalogUrl?: string;Defined in: core/src/capability.ts:179
Custom catalog URL. Defaults to https://models.dev/api.json
fetchImpl?
Section titled “fetchImpl?”optional fetchImpl?: FetchLike;Defined in: core/src/capability.ts:183
Custom fetch implementation (for proxies, custom headers, or tests).
maxAgeMs?
Section titled “maxAgeMs?”optional maxAgeMs?: number;Defined in: core/src/capability.ts:185
Max cache age in ms. Defaults to 24 hours (86_400_000 ms).