mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-05 17:47:21 +00:00
Upgraded to MudBlazor 9 (#1137)
This commit is contained in:
1 parent
e0337a99bc
commit
aeba1fbccc
625 files changed
+408
-882
No files matched your search
@@ -102,9 +102,9 @@ public partial class AssistantBuilder : AssistantBaseCore<SettingsDialogAssistan
|
||||
private string launcherProviderId = string.Empty;
|
||||
private string launcherProfileId = string.Empty;
|
||||
private string launcherChatTemplateId = string.Empty;
|
||||
private IEnumerable<string> launcherDataSourceIds = [];
|
||||
private IReadOnlyCollection<string> launcherDataSourceIds = [];
|
||||
private HashSet<string> launcherToolIds = [];
|
||||
private IEnumerable<AssistantComponentType> selectedAssistantComponents = [];
|
||||
private IReadOnlyCollection<AssistantComponentType> selectedAssistantComponents = [];
|
||||
private CommonLanguages selectedOutputLanguage = CommonLanguages.AS_IS;
|
||||
private string customOutputLanguage = string.Empty;
|
||||
private bool allowGeneratedAssistantProfiles = true;
|
||||
@@ -391,7 +391,7 @@ public partial class AssistantBuilder : AssistantBaseCore<SettingsDialogAssistan
|
||||
|
||||
private async Task GenerateAssistantSpec()
|
||||
{
|
||||
await this.Form!.Validate();
|
||||
await this.Form!.ValidateAsync();
|
||||
if (!this.InputIsValid)
|
||||
return;
|
||||
|
||||
@@ -435,7 +435,7 @@ public partial class AssistantBuilder : AssistantBaseCore<SettingsDialogAssistan
|
||||
|
||||
private async Task GenerateLuaAssistant()
|
||||
{
|
||||
await this.Form!.Validate();
|
||||
await this.Form!.ValidateAsync();
|
||||
if (!this.InputIsValid)
|
||||
return;
|
||||
|
||||
@@ -530,7 +530,7 @@ public partial class AssistantBuilder : AssistantBaseCore<SettingsDialogAssistan
|
||||
_ => this.selectedOutputLanguage.Name(),
|
||||
};
|
||||
|
||||
private string GetSelectedAssistantComponentText(List<string?>? selectedValues)
|
||||
private string GetSelectedAssistantComponentText(IReadOnlyList<string?>? selectedValues)
|
||||
{
|
||||
if (selectedValues is null || selectedValues.Count == 0)
|
||||
return T("Model decides");
|
||||
|
||||
Reference in new issue
Block a user