Added IONOS as a provider and unified how providers sort their model lists (#941)

This commit is contained in:
Thorsten Sommer authored and GitHub committed 2026-08-29 20:45:39 +02:00
1 parent edbb75dd9f
commit 53da222562
29 files changed
+410 -50

No files matched your search

@@ -82,9 +82,7 @@ public sealed class ProviderHelmholtz() : BaseProvider(LLMProviders.HELMHOLTZ, n
{
Models =
[
..result.Models.Where(model => !model.Id.StartsWith("text-", StringComparison.InvariantCultureIgnoreCase) &&
!model.Id.Contains("-embedding", StringComparison.InvariantCultureIgnoreCase)
)
..result.Models.Where(model => model.IsChatModel())
]
};
}
@@ -103,10 +101,7 @@ public sealed class ProviderHelmholtz() : BaseProvider(LLMProviders.HELMHOLTZ, n
{
Models =
[
..result.Models.Where(model =>
model.Id.Contains("-embedding", StringComparison.InvariantCultureIgnoreCase) ||
model.Id.StartsWith("text-", StringComparison.InvariantCultureIgnoreCase) ||
model.Id.Contains("gritlm", StringComparison.InvariantCultureIgnoreCase))
..result.Models.Where(model => model.IsEmbeddingModel())
]
};
}