MistralProvider
Registration for the Mistral API.
Attributes
- Graph
-
- Supertypes
- Self type
-
MistralProvider.type
Members list
Value members
Concrete methods
Constructs the client for a ProviderConfig this provider produced.
Constructs the client for a ProviderConfig this provider produced.
config is whatever the caller passed, so implementations must check the type rather than cast — ProviderDescriptor.expectConfig does that and produces the standard mismatch error.
Attributes
Turns a validated config section into the runtime ProviderConfig for this provider.
Turns a validated config section into the runtime ProviderConfig for this provider.
The section has already been checked against configSpec, so required fields are present; a Left here means something configSpec cannot express (a malformed value, say).
Value parameters
- providerName
-
the user's instance name (
llm4s.providers.<name>), for error messages.
Attributes
Inherited methods
Alternative spellings accepted in provider = "...", folded onto id.
Alternative spellings accepted in provider = "...", folded onto id.
For example Gemini accepts "google". Aliases are matched after the same trim/lowercase canonicalisation as id itself.
Attributes
- Inherited from:
- ProviderDescriptor
Concrete fields
Which config fields this provider requires, and its default endpoint.
Which config fields this provider requires, and its default endpoint.
Attributes
MistralClient.streamComplete returns a Left - see #925.
MistralClient.streamComplete returns a Left - see #925.
Attributes
Canonical id, e.g. ProviderId("openai"). Must be unique within a registry.
Canonical id, e.g. ProviderId("openai"). Must be unique within a registry.
Attributes
Live model discovery, when the provider's API offers it.
Live model discovery, when the provider's API offers it.