using AIStudio.Provider; using AIStudio.Settings; namespace AIStudio.Chat; /// /// Represents an image inside the chat. /// public sealed class ContentImage : IContent { #region Implementation of IContent /// public bool InitialRemoteWait { get; set; } = false; /// public bool IsStreaming { get; set; } = false; /// public Func StreamingDone { get; set; } = () => Task.CompletedTask; /// public Func StreamingEvent { get; set; } = () => Task.CompletedTask; /// public Task CreateFromProviderAsync(IProvider provider, IJSRuntime jsRuntime, SettingsManager settings, Model chatModel, ChatThread chatChatThread, CancellationToken token = default) { throw new NotImplementedException(); } #endregion /// /// The URL of the image. /// public string URL { get; set; } = string.Empty; /// /// The local path of the image. /// public string LocalPath { get; set; } = string.Empty; }