using AIStudio.Chat;
using AIStudio.Chat.Embedded;
namespace AIStudio.Assistants.ModelComparison;
///
/// Lets the embedded chats of a comparison series live in the folder of the series.
///
/// The store of the assistant.
/// The ID of the series.
public sealed class ModelComparisonSeriesChatStore(ModelComparisonStore store, Guid seriesId) : IEmbeddedChatStore
{
///
public Task LoadThreadAsync(Guid chatId, CancellationToken token = default) => store.LoadSeriesChatAsync(seriesId, chatId, token);
///
public Task SaveThreadAsync(ChatThread thread, CancellationToken token = default) => store.SaveSeriesChatAsync(seriesId, thread, token);
}