diff --git a/app/MindWork AI Studio/Pages/Assistants.razor b/app/MindWork AI Studio/Pages/Assistants.razor index e8b622c9..26acd14d 100644 --- a/app/MindWork AI Studio/Pages/Assistants.razor +++ b/app/MindWork AI Studio/Pages/Assistants.razor @@ -12,36 +12,19 @@ - @if (this.SettingsManager.IsAnyCategoryAssistantVisible("General", - (Components.TEXT_SUMMARIZER_ASSISTANT, PreviewFeatures.NONE), - (Components.TRANSLATION_ASSISTANT, PreviewFeatures.NONE), - (Components.GRAMMAR_SPELLING_ASSISTANT, PreviewFeatures.NONE), - (Components.REWRITE_ASSISTANT, PreviewFeatures.NONE), - (Components.PROMPT_OPTIMIZER_ASSISTANT, PreviewFeatures.NONE), - (Components.SYNONYMS_ASSISTANT, PreviewFeatures.NONE), - (Components.META_ASSISTANT, PreviewFeatures.PRE_META_ASSISTANT_V1) - )) - { - - @T("General") - - - - - - - - - - - } + + + + + + + + + @if (this.AssistantPlugins.Count > 0) { - - @T("Installed Assistants") - - + @foreach (var assistantPlugin in this.AssistantPlugins) { var securityState = PluginAssistantSecurityResolver.Resolve(this.SettingsManager, assistantPlugin); @@ -66,76 +49,34 @@ } - + } - @if (this.SettingsManager.IsAnyCategoryAssistantVisible("Business", - (Components.EMAIL_ASSISTANT, PreviewFeatures.NONE), - (Components.DOCUMENT_ANALYSIS_ASSISTANT, PreviewFeatures.NONE), - (Components.MY_TASKS_ASSISTANT, PreviewFeatures.NONE), - (Components.AGENDA_ASSISTANT, PreviewFeatures.NONE), - (Components.JOB_POSTING_ASSISTANT, PreviewFeatures.NONE), - (Components.LEGAL_CHECK_ASSISTANT, PreviewFeatures.NONE), - (Components.ICON_FINDER_ASSISTANT, PreviewFeatures.NONE), - (Components.SLIDE_BUILDER_ASSISTANT, PreviewFeatures.NONE), - (Components.VISUAL_BRIEFING_ASSISTANT, Components.VISUAL_BRIEFING_ASSISTANT.RequiredPreviewFeature()) - )) - { - - @T("Business") - - - - - - - - - - - - - } + + + + + + + + + + + - @if (this.SettingsManager.IsAnyCategoryAssistantVisible("Learning", - (Components.BIAS_DAY_ASSISTANT, PreviewFeatures.NONE) - )) - { - - @T("Learning") - - - - - } + + + - @if (this.SettingsManager.IsAnyCategoryAssistantVisible("Software Engineering", - (Components.CODING_ASSISTANT, PreviewFeatures.NONE), - (Components.ERI_ASSISTANT, PreviewFeatures.PRE_RAG_2024), - (Components.LOG_VIEWER_ASSISTANT, PreviewFeatures.NONE) - )) - { - - @T("Software Engineering") - - - - - - } + + + + - @if (this.SettingsManager.IsAnyCategoryAssistantVisible("AI Studio Development", - (Components.I18N_ASSISTANT, PreviewFeatures.NONE) - )) - { - - @T("AI Studio Development") - - - - - - } + + + + \ No newline at end of file