mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-07-16 20:46:26 +00:00
15 lines
433 B
C#
15 lines
433 B
C#
|
|
using AIStudio.Chat;
|
||
|
|
|
||
|
|
namespace AIStudio.Tools.Media;
|
||
|
|
|
||
|
|
/// <summary>Pending media results waiting for one concrete UI target.</summary>
|
||
|
|
public sealed record MediaImportDelivery
|
||
|
|
{
|
||
|
|
public required MediaImportTarget Target { get; init; }
|
||
|
|
|
||
|
|
public IReadOnlyList<FileAttachment> Attachments { get; init; } = [];
|
||
|
|
|
||
|
|
public string? Text { get; init; }
|
||
|
|
|
||
|
|
public bool IsEmpty => this.Attachments.Count is 0 && this.Text is null;
|
||
|
|
}
|