namespace AIStudio.Chat.Compression;
///
/// Whether the notice before sending offers to compress the chat, or why compressing would not help, see
/// ChatCompressionService.OfferBeforeSendingAsync.
///
///
/// The reasons are named, so that the notice can tell them: the user guide recommends compressing, and a notice which
/// leaves it out without a word looks like a mistake.
///
public enum ChatCompressionOffer
{
///
/// The place compresses nothing at all, e.g., an assistant, a chat without workspaces, or a provider which the chat
/// may not use; the notice says nothing about compressing.
///
NONE,
///
/// Compressing makes room for the message about to be sent.
///
OFFERED,
///
/// The model is too small to write a summary, see ChatCompressionService.MIN_CONTEXT_WINDOW.
///
WINDOW_TOO_SMALL,
///
/// The message about to be sent nearly fills the context window by itself, and it goes along unchanged.
///
MESSAGE_TOO_LONG,
///
/// Before the last message of the user and the last answer of the AI, there is nothing to summarize.
///
NOTHING_TO_SUMMARIZE,
///
/// What compressing keeps word for word, such as the last message of the user with its files, the last answer of
/// the AI, and the system prompt, still nearly fills the context window together with the message about to be sent.
///
KEEPS_TOO_MUCH,
}