Added Mistral Large 4 to the model knowledge (#1059)

This commit is contained in:
Thorsten Sommer authored and GitHub committed 2026-10-13 19:47:04 +02:00
1 parent fbb65fd72d
commit ab45580473
6 files changed
+49 -3

No files matched your search

@@ -8,7 +8,7 @@ namespace AIStudio.Models.Mistral;
public sealed class MistralLargeFamily : MistralReleaseDatedFamily
{
/// <inheritdoc />
public override ModelSource Source => new("https://docs.mistral.ai/models/mistral-large-3-25-12", new DateOnly(2026, 9, 12), "Capabilities ported unchanged from ProviderExtensions.Mistral.cs: images and reasoning from Mistral Large 3 on. The model card states a 256k window.");
public override ModelSource Source => new("https://docs.mistral.ai/models/mistral-large-4-0", new DateOnly(2026, 10, 13), "Capabilities ported unchanged from ProviderExtensions.Mistral.cs: images and reasoning from Mistral Large 3 on. The model card of Mistral Large 3 states a 256k window, the one of Mistral Large 4 a 1M window.");
/// <inheritdoc />
protected override int VisionSince => 2512;
@@ -20,9 +20,18 @@ public sealed class MistralLargeFamily : MistralReleaseDatedFamily
protected override int LatestRelease => 2512;
/// <inheritdoc />
protected override void Declare(ModelFamilyBuilder builder) =>
protected override void Declare(ModelFamilyBuilder builder)
{
builder.Rule("mistral-large").AsSegment()
.Capabilities(WHAT_THEY_COULD_ALWAYS_DO)
.Apis(CHAT_COMPLETION_API)
.ContextWindow(256_000);
//
// Mistral Large 4 reads a million tokens instead of 256k. Its names carry the generation
// instead of a release, so this rule answers for the window only; images and reasoning
// still follow from the release, which the version names map Mistral Large 4 onto:
//
builder.Rule("mistral-large-4").AsSegment().InheritsFrom("mistral-large").ContextWindow(1_000_000);
}
}
@@ -59,6 +59,7 @@ public static class MistralReleases
/// </remarks>
private static readonly (string VersionName, int Release)[] VERSION_NAMES =
[
("mistral-large-4", 2610),
("mistral-large-3", 2512),
("mistral-medium-3.5", 2604),
@@ -9,6 +9,7 @@
- Added a way for IT departments to let requests to the self-hosted AI servers of your organization name the feature of AI Studio that sent them, either for everybody or as a default that users may change. This shows which features are used. The Enterprise IT documentation explains what is sent and what to clarify before you switch it on, for example, with your works council.
- Added Requesty as a new LLM provider for chats, embeddings, and transcriptions. Requesty is an AI gateway from the United Kingdom that gives you models from many providers with a single API key. Because where your data is processed depends on the model you choose, you set its trust level yourself. Thanks, Thibault Jaigu (`Thibaultjaigu`), for this first contribution.
- Added [llmman](https://github.com/llmmanorg/llmman) as a new option for the models you host yourself. llmman runs open models on your own computer or server, and AI Studio can use them for chats, embeddings, and transcriptions. Thanks, Eric Curtin (`ericcurtin`), for this first contribution.
- Added support for Mistral Large 4.
- Improved the Read Web Page tool. When you have not allowed the AI to choose web addresses freely, the tool now refuses every address that does not appear in your chat or in what the tools returned, instead of only asking the AI not to read it.
- Improved the installation on macOS: AI Studio is now signed and checked by Apple, so it opens like any other app. You no longer need the Terminal.
- Improved the installation on Windows: AI Studio is now signed, so Windows shows who published it. For a while, Windows may still ask you to confirm the installation until it knows the app better.