mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-12-04 21:24:35 +00:00
Co-authored-by: Thorsten Sommer <SommerEngineering@users.noreply.github.com>
16 lines
458 B
C#
16 lines
458 B
C#
using AIStudio.Chat;
|
|
using AIStudio.Tools.Imports;
|
|
|
|
namespace AIStudio.Tools.Media;
|
|
|
|
/// <summary>Pending media results waiting for one concrete UI target.</summary>
|
|
public sealed record MediaImportDelivery
|
|
{
|
|
public required ImportTarget 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;
|
|
} |