Call the thing a model where the user picks one to get a job done

This commit is contained in:
Thorsten Sommer committed 2026-09-19 21:22:25 +02:00
1 parent 5b5f74cc0c
commit a50981754f
7 files changed
+53 -33

No files matched your search

@@ -29,7 +29,7 @@
<MudText Typo="Typo.h6">@this.plugin.Name</MudText>
<MudText Typo="Typo.body2" Class="mb-2">@this.plugin.Description</MudText>
<MudText Typo="Typo.body2">
@T("Audit provider"): <strong>@this.ProviderLabel</strong>
@T("Audit model"): <strong>@this.ProviderLabel</strong>
</MudText>
<MudText Typo="Typo.body2">
@T("Minimum required safety level"): <strong>@this.MinimumLevelLabel</strong>
@@ -43,7 +43,7 @@
@T("No model is set for security checks, neither for this agent nor for the app as a whole. Choose one here to check this plugin. Your choice applies to this check only; you can set a permanent one in the app settings.")
</MudText>
<CascadingValue Value="Components.AGENT_ASSISTANT_PLUGIN_AUDIT">
<ProviderSelection @bind-ProviderSettings="@this.auditProviderSelection" ValidateProvider="@this.ValidatingProvider" Disabled="@this.isAuditing" />
<ProviderSelection @bind-ProviderSettings="@this.auditProviderSelection" ValidateProvider="@this.ValidatingProvider" Label="@T("Model")" Disabled="@this.isAuditing" />
</CascadingValue>
</MudPaper>
}
@@ -63,7 +63,7 @@ public partial class AssistantPluginAuditDialog : MSGComponentBase
private bool NeedsProviderSelection => this.CurrentProvider == AIStudio.Settings.Provider.NONE;
private string ProviderLabel => this.EffectiveProvider == AIStudio.Settings.Provider.NONE
? T("No provider configured")
? T("No model configured")
: $"{this.EffectiveProvider.InstanceName} ({this.EffectiveProvider.UsedLLMProvider.ToName()})";
private DataAssistantPluginAudit AuditSettings => this.SettingsManager.ConfigurationData.AssistantPluginAudit;
@@ -161,7 +161,7 @@ public partial class AssistantPluginAuditDialog : MSGComponentBase
private string? ValidatingProvider(AIStudio.Settings.Provider provider)
{
if (provider.UsedLLMProvider == LLMProviders.NONE)
return T("Please select a provider.");
return T("Please select a model.");
return null;
}