Renamed method

This commit is contained in:
Thorsten Sommer 2026-01-07 15:30:23 +01:00
parent 21ceb70fd7
commit b38b96c9f6
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108
2 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@
<MudSelect @bind-Value="@this.DataHost" Label="@T("Host")" Class="mb-3" OpenIcon="@Icons.Material.Filled.ExpandMore" AdornmentColor="Color.Info" Adornment="Adornment.Start" Validation="@this.providerValidation.ValidatingHost">
@foreach (Host host in Enum.GetValues(typeof(Host)))
{
if (host.AreEmbeddingsSupported())
if (host.IsEmbeddingSupported())
{
<MudSelectItem Value="@host">
@host.Name()

View File

@ -24,7 +24,7 @@ public static class HostExtensions
_ => "chat/completions",
};
public static bool AreEmbeddingsSupported(this Host host)
public static bool IsEmbeddingSupported(this Host host)
{
switch (host)
{