mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-04-27 23:59:48 +00:00
Use ToName() for provider display in Embedding dialogs and settings
This commit is contained in:
parent
c6e45c26d6
commit
56e3064e74
@ -41,7 +41,7 @@
|
|||||||
<RowTemplate>
|
<RowTemplate>
|
||||||
<MudTd>@context.Num</MudTd>
|
<MudTd>@context.Num</MudTd>
|
||||||
<MudTd>@context.Name</MudTd>
|
<MudTd>@context.Name</MudTd>
|
||||||
<MudTd>@context.UsedLLMProvider</MudTd>
|
<MudTd>@context.UsedLLMProvider.ToName()</MudTd>
|
||||||
<MudTd>@this.GetEmbeddingProviderModelName(context)</MudTd>
|
<MudTd>@this.GetEmbeddingProviderModelName(context)</MudTd>
|
||||||
|
|
||||||
<MudTd>
|
<MudTd>
|
||||||
|
@ -11,7 +11,9 @@
|
|||||||
{
|
{
|
||||||
if (provider.ProvideEmbeddings())
|
if (provider.ProvideEmbeddings())
|
||||||
{
|
{
|
||||||
<MudSelectItem Value="@provider">@provider</MudSelectItem>
|
<MudSelectItem Value="@provider">
|
||||||
|
@provider.ToName()
|
||||||
|
</MudSelectItem>
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</MudSelect>
|
</MudSelect>
|
||||||
|
Loading…
Reference in New Issue
Block a user