list

Asynchronously makes an API request to list the available models.

Return

A CompletableFuture that resolves to a AsyncPager. The AsyncPager has a `forEach` method that can be used to asynchronously process items in the page and automatically query the next page once the current page is exhausted.

Parameters

config

A ListModelsConfig for configuring the list request.