Soenneker.SemanticKernel.Pool.Mistral 11.0.457

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Soenneker.SemanticKernel.Pool.Mistral --version 11.0.457
                    
NuGet\Install-Package Soenneker.SemanticKernel.Pool.Mistral -Version 11.0.457
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Soenneker.SemanticKernel.Pool.Mistral" Version="11.0.457" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.SemanticKernel.Pool.Mistral" Version="11.0.457" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.SemanticKernel.Pool.Mistral" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Soenneker.SemanticKernel.Pool.Mistral --version 11.0.457
                    
#r "nuget: Soenneker.SemanticKernel.Pool.Mistral, 11.0.457"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Soenneker.SemanticKernel.Pool.Mistral@11.0.457
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Soenneker.SemanticKernel.Pool.Mistral&version=11.0.457
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.SemanticKernel.Pool.Mistral&version=11.0.457
                    
Install as a Cake Tool

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

Soenneker.SemanticKernel.Pool.Mistral

Mistral connector registration helpers for Soenneker.SemanticKernel.Pool.

Installation

dotnet add package Soenneker.SemanticKernel.Pool.Mistral

Add a Mistral entry

Resolve the pool and HTTP client cache from dependency injection, then register a chat or embedding entry:

using Soenneker.SemanticKernel.Enums.KernelType;
using Soenneker.SemanticKernel.Pool.Mistral;

await pool.AddMistral(
    poolId: "chat",
    key: "mistral-primary",
    type: KernelType.Chat,
    modelId: "mistral-model-id",
    apiKey: configuration["Mistral:ApiKey"]!,
    endpoint: "https://api.mistral.ai",
    httpClientCache: httpClientCache,
    rps: 2,
    rpm: 60,
    rpd: 1_000,
    tokensPerDay: null,
    cancellationToken);

Use KernelType.Chat for Mistral chat completion or KernelType.Embedding for the Mistral embedding generator. Other kernel types throw NotSupportedException when the pool first constructs the kernel.

The adapter caches chat HTTP clients under mistral:{poolId}:{key} with a five-minute timeout. The endpoint argument is retained in the entry's SemanticKernelOptions, but this adapter does not pass it to the Mistral connector; connector endpoint behavior therefore comes from the Mistral Semantic Kernel package.

Pool quota values are reservations made when GetAvailable selects the entry. tokensPerDay counts one unit per acquisition; it is not populated from provider token usage.

Remove the entry

Use the matching helper so both the pool entry and its cached HTTP client are removed:

await pool.RemoveMistral(
    "chat",
    "mistral-primary",
    httpClientCache,
    cancellationToken);

Keep the API key in a protected configuration provider and avoid logging or serializing the generated SemanticKernelOptions.

Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
11.0.477 116 11/19/2026
11.0.476 75 11/19/2026
11.0.475 76 11/19/2026
11.0.474 84 11/18/2026
11.0.472 78 11/18/2026
11.0.471 83 11/18/2026
11.0.469 154 11/15/2026
11.0.468 98 11/15/2026
11.0.467 118 11/15/2026
11.0.466 687 11/11/2026
11.0.464 108 11/11/2026
11.0.463 112 11/11/2026
11.0.462 100 11/11/2026
11.0.461 159 11/11/2026
11.0.460 111 11/11/2026
11.0.459 5,180 11/7/2026
11.0.458 11,032 11/3/2026
11.0.457 625 11/3/2026
11.0.456 102 11/3/2026
11.0.455 98 11/3/2026
Loading failed

Updated Soenneker.Utils.HttpClientCache to 11.0.2143