MistralChatClient<T>
Models & Types · AiDotNet.Agentic.Models.Connectors
An IChatClient for the Mistral platform, whose chat
API is OpenAI-compatible. It reuses the OpenAI wire format and only changes the endpoint and key, adding
Mistral’s hosted models to the connector lineup with no bespoke code.
Inheritance: ChatClientBase<T> → OpenAIChatClient<T> → MistralChatClient<T>
For Beginners
Same agent code as OpenAI, pointed at Mistral’s servers with your Mistral key.
Constructors
| Constructor | Summary |
|---|---|
MistralChatClient(string apiKey, string modelName, string endpoint, HttpClient httpClient) |
Initializes a new Mistral client. |
Fields
| Field | Summary |
|---|---|
string DefaultEndpoint |
The default Mistral OpenAI-compatible chat endpoint. |