using System.Text.Json.Serialization;
using AIStudio.Provider;
using AIStudio.Settings;
namespace AIStudio.Chat;
///
/// Represents an image inside the chat.
///
public sealed class ContentImage : IContent
{
#region Implementation of IContent
///
[JsonIgnore]
public bool InitialRemoteWait { get; set; } = false;
///
[JsonIgnore]
public bool IsStreaming { get; set; } = false;
///
[JsonIgnore]
public Func StreamingDone { get; set; } = () => Task.CompletedTask;
///
[JsonIgnore]
public Func StreamingEvent { get; set; } = () => Task.CompletedTask;
///
public Task CreateFromProviderAsync(IProvider provider, 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;
}