@using AIStudio.Chat @using MudBlazor.Extensions @inherits MSGComponentBase @inject ISnackbar Snackbar @T("Store chat templates.") @T("Are you always using the same prompts and want a way of automatically using them?") @T("The name of the chat template is mandatory. Each chat template must have a unique name.") @* ReSharper disable once CSharpWarnings::CS8974 *@ What should you know about the additional messages? TODO Additional messages Role Entry Actions @context.Role @(context.Content is ContentText textContent ? textContent.Text : context.Content?.ToString()) @foreach (var role in availableRoles) { @role.ToName() } @T("Add additional message") @T("Cancel") @if(this.IsEditing) { @T("Update") } else { @T("Add") }