@suluk/models - v0.1.3
    Preparing search index...

    Function fetchOpenRouterCatalog

    • Fetch OpenRouter /models and normalize to the fact-cell catalog. NETWORK — run from a weekly script/CI, not tests.

      Parameters

      • asOf: string
      • opts: {
            baseUrl?: string;
            fetchImpl?: (
                input: RequestInfo | URL,
                init?: RequestInit,
            ) => Promise<Response>;
        } = {}
        • OptionalbaseUrl?: string
        • OptionalfetchImpl?: (input: RequestInfo | URL, init?: RequestInit) => Promise<Response>

      Returns Promise<ModelCatalog>