@using AIStudio.Chat @using AIStudio.Components.Pages @using AIStudio.Tools @this.Title @this.Description @if (this.Body is not null) { @this.Body } @if (this.ShowDedicatedProgress && this.isProcessing) { }
@if (this.ShowResult && this.resultingContentBlock is not null) { }
@if (this.FooterButtons.Count > 0) { @foreach (var button in this.FooterButtons) { switch (button) { case ButtonData buttonData when !string.IsNullOrWhiteSpace(buttonData.Tooltip): @buttonData.Text break; case ButtonData buttonData: @buttonData.Text break; case SendToButton sendToButton: @foreach (var assistant in Enum.GetValues().OrderBy(n => n.Name().Length)) { if(assistant is Pages.SendToAssistant.NONE || sendToButton.Self == assistant) continue; @assistant.Name() } break; } } }