Fixed model capabilities and how model names are matched (#958)

This commit is contained in:
Thorsten Sommer authored and GitHub committed 2026-09-11 15:24:02 +02:00
1 parent e64c51bd57
commit 2834529753
16 files changed
+1164 -155

No files matched your search

@@ -64,7 +64,7 @@ public static partial class ProviderExtensions
private static List<Capability> GetModelCapabilitiesMistral(Model model)
{
var modelName = model.Id.ToLowerInvariant().AsSpan();
var modelName = NormalizeModelId(model.Id).AsSpan();
// Pixtral models are able to do process images:
if (modelName.IndexOf("pixtral") is not -1)