Skip to content

Commit f10d9a5

Browse files
Improved the embedding configuration dialog (#454)
1 parent 1a4e478 commit f10d9a5

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

app/MindWork AI Studio/Dialogs/EmbeddingProviderDialog.razor

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
<MudForm @ref="@this.form" @bind-IsValid="@this.dataIsValid" @bind-Errors="@this.dataIssues">
77
<MudStack Row="@true" AlignItems="AlignItems.Center">
88
@* ReSharper disable once CSharpWarnings::CS8974 *@
9-
<MudSelect @bind-Value="@this.DataLLMProvider" Label="Provider" Class="mb-3" OpenIcon="@Icons.Material.Filled.AccountBalance" AdornmentColor="Color.Info" Adornment="Adornment.Start" Validation="@this.providerValidation.ValidatingProvider">
9+
<MudSelect @bind-Value="@this.DataLLMProvider" Label="Provider" Class="mb-3" OpenIcon="@Icons.Material.Filled.AccountBalance" AdornmentColor="Color.Info" Adornment="Adornment.Start" Validation="@this.providerValidation.ValidatingProvider">
1010
@foreach (LLMProviders provider in Enum.GetValues(typeof(LLMProviders)))
1111
{
12-
if (provider.ProvideEmbeddings())
12+
if (provider.ProvideEmbeddings() || provider is LLMProviders.NONE)
1313
{
1414
<MudSelectItem Value="@provider">
1515
@provider.ToName()
@@ -32,6 +32,7 @@
3232
AdornmentIcon="@Icons.Material.Filled.VpnKey"
3333
AdornmentColor="Color.Info"
3434
InputType="InputType.Password"
35+
Immediate="true"
3536
Validation="@this.providerValidation.ValidatingAPIKey"/>
3637
}
3738

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# v0.9.43, build 218 (2025-05-xx xx:xx UTC)
22
- Added the ability to select the new Google Gemini embeddings in the embedding configuration.
33
- Improved the automatic German translation; thanks Peer (`peerschuett`) for contributing.
4-
- Improved Google Gemini LLM model selection by filtering out the new embedding models.
4+
- Improved Google Gemini LLM model selection by filtering out the new embedding models.
5+
- Improved the dialog for configuring embeddings: the API key is applied immediately, and provider formatting was enhanced.

0 commit comments

Comments
 (0)