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

@@ -68,7 +68,7 @@ public sealed class ProviderHetzner() : BaseProvider(LLMProviders.HETZNER, new U
/// <inheritdoc />
public override Task<ModelLoadResult> GetTextModels(string? apiKeyProvisional = null, CancellationToken token = default)
{
return this.LoadModelsResponse<ModelsResponse>(SecretStoreType.LLM_PROVIDER, "models", modelResponse => modelResponse.Data, token, apiKeyProvisional);
return this.LoadModelsResponse<ModelsResponse>(SecretStoreType.LLM_PROVIDER, "models", modelResponse => modelResponse.Data.Where(model => model.IsChatModel()), token, apiKeyProvisional);
}
/// <inheritdoc />