using AIStudio.Chat; namespace AIStudio.Tools.Media; /// Pending media results waiting for one concrete UI target. public sealed record MediaImportDelivery { public required MediaImportTarget Target { get; init; } public IReadOnlyList Attachments { get; init; } = []; public string? Text { get; init; } public bool IsEmpty => this.Attachments.Count is 0 && this.Text is null; }