featherbit UI
    Preparing search index...

    Function listModels

    • GET {baseUrl}/models → sorted model ids. Feeds the settings form's suggestion list. The bearer header is sent only when a key is set, so an endpoint that serves the list unauthenticated works too.

      Parameters

      • settings: ProviderSettings
      • fetchImpl: (input: RequestInfo | URL, init?: RequestInit) => Promise<Response> = fetch
          • (input: RequestInfo | URL, init?: RequestInit): Promise<Response>
          • Parameters

            • input: RequestInfo | URL
            • Optionalinit: RequestInit

            Returns Promise<Response>

      Returns Promise<string[]>