yera.setup.model_discovery.mistral
Discover models available through a Mistral connection.
Symbols
MistralModelSetup
Inherits:
ModelSetup[MistralConnection]Discover chat models available through Mistral.
The discovery operation lists models exposed to the configured Mistral account and converts supported chat models into typed Yera language-model configuration. Non-chat, deprecated, and unrecognized records are omitted from the returned model collection.
Attributes
provider_type
Provider identifier used by Yera configuration.
Methods
get_config — Obtain model configuration from the configured Mistral account.
MistralModelSetup.get_config
get_config() → SetupResult[list[BaseModelConfig]]Obtain model configuration from the configured Mistral account.
Non-chat and deprecated models are omitted. Records not recognized by the installed Mistral SDK are omitted with a warning. Expected credential and client failures are returned as blocking errors.
Returns
type: SetupResult[list[BaseModelConfig]]
Supported Mistral model configuration and discovery diagnostics.