@using AIStudio.Tools @using MudBlazor @this.Role.ToName() (@this.Time) @if (this.RemoveBlockFunc is not null) { } @if (!this.HideContent) { if (this.Content.IsStreaming) { } switch (this.Type) { case ContentType.TEXT: if (this.Content is ContentText textContent) { if (textContent.InitialRemoteWait) { } else { @if (this.Content.IsStreaming) { @textContent.Text } else { } } } break; case ContentType.IMAGE: if (this.Content is ContentImage imageContent) { } break; default: Cannot render content of type @this.Type yet. break; } }