models

open suspend override fun models(): List<String>(source)

Fetches the list of available model IDs from the MistralAI service. https://docs.mistral.ai/api/endpoint/models

Return

A list of model IDs as strings.

Throws

if the HTTP request fails or the response cannot be processed.