@using AIStudio.Tools.DocumentSegments @inherits MSGComponentBase @this.Title @this.DoneText @this.SectionsText @if (this.Document.Results.CountOf(SegmentStatus.FILTERED) is > 0 and var filteredCount) { @string.Format(T("Sections left unchanged because the prompt injection check found suspicious content in them: {0}"), filteredCount) } @if (this.Document.Results.CountOf(SegmentStatus.FAILED) is > 0 and var failedCount) { @string.Format(T("Sections left unchanged because the AI model gave no usable answer for them: {0}"), failedCount) } @if (DocumentSegmentFormats.For(this.Document.SourcePath) is { } format) { @format.LimitsNotice } @this.SaveText