diff --git a/app/MindWork AI Studio/Assistants/AssistantBase.razor b/app/MindWork AI Studio/Assistants/AssistantBase.razor index 9555278b..ab8a01f5 100644 --- a/app/MindWork AI Studio/Assistants/AssistantBase.razor +++ b/app/MindWork AI Studio/Assistants/AssistantBase.razor @@ -48,17 +48,20 @@ @if (!this.FooterButtons.Any(x => x.Type is ButtonTypes.SEND_TO)) { - - @foreach (var assistant in Enum.GetValues().OrderBy(n => n.Name().Length)) - { - if (assistant is Components.NONE || this.Component == assistant) - continue; + @if (this.ShowSendTo) + { + + @foreach (var assistant in Enum.GetValues().OrderBy(n => n.Name().Length)) + { + if (assistant is Components.NONE || this.Component == assistant) + continue; - - @assistant.Name() - - } - + + @assistant.Name() + + } + + } } @foreach (var button in this.FooterButtons) @@ -95,13 +98,19 @@ } } - - Copy result - - - - Reset - + @if (this.ShowCopyResult) + { + + Copy result + + } + + @if (this.ShowReset) + { + + Reset + + } @if (this.SettingsManager.ConfigurationData.LLMProviders.ShowProviderConfidence) { diff --git a/app/MindWork AI Studio/Assistants/AssistantBase.razor.cs b/app/MindWork AI Studio/Assistants/AssistantBase.razor.cs index 81358500..41a7c402 100644 --- a/app/MindWork AI Studio/Assistants/AssistantBase.razor.cs +++ b/app/MindWork AI Studio/Assistants/AssistantBase.razor.cs @@ -74,6 +74,12 @@ public abstract partial class AssistantBase : ComponentBase, IMessageBusReceiver protected virtual bool ShowProfileSelection => true; protected virtual bool ShowDedicatedProgress => false; + + protected virtual bool ShowSendTo => true; + + protected virtual bool ShowCopyResult => true; + + protected virtual bool ShowReset => true; protected virtual ChatThread ConvertToChatThread => this.chatThread ?? new();