namespace AIStudio.Chat;
///
/// Data structure for a chat thread.
///
/// The name of the chat thread.
/// The seed for the chat thread. Some providers use this to generate deterministic results.
/// The system prompt for the chat thread.
/// The content blocks of the chat thread.
public sealed class ChatThread(string name, int seed, string systemPrompt, IEnumerable blocks)
{
///
/// The name of the chat thread. Usually generated by an AI model or manually edited by the user.
///
public string Name { get; set; } = name;
///
/// The seed for the chat thread. Some providers use this to generate deterministic results.
///
public int Seed { get; set; } = seed;
///
/// The current system prompt for the chat thread.
///
public string SystemPrompt { get; set; } = systemPrompt;
///
/// The content blocks of the chat thread.
///
public List Blocks { get; init; } = blocks.ToList();
}