proposit-core
    Preparing search index...

    Type Alias TChatCompletionsFetch

    TChatCompletionsFetch: (url: string, init: RequestInit) => Promise<Response>

    The fetch the provider sends its HTTP requests through. Defaults to the global fetch; pass one to route, record or stub requests.

    Type Declaration

      • (url: string, init: RequestInit): Promise<Response>
      • Parameters

        • url: string
        • init: RequestInit

        Returns Promise<Response>