namespace AIStudio.Settings.DataModel; /// /// What AI Studio does when a message would fill the context window of the model. /// /// /// It applies where a chat asks before sending: the chat, the embedded chat of the BeyondFacts Lab, and the /// assistants. An assistant cannot compress its request, so both ways to compress ask there instead. The /// embedded chat always replaces its history when it compresses, since it has no other chat to continue in. /// public enum ContextWindowFullBehavior { /// /// Ask what to do: compress the chat, send the message anyway, or cancel. /// ASK = 0, /// /// Compress the chat without asking and continue in a new chat; the original chat stays as it is. /// COMPRESS_INTO_NEW_CHAT, /// /// Compress the chat without asking and replace its history with the summary; the original messages are gone. /// COMPRESS_AND_REPLACE, /// /// Send the message without asking; the provider may refuse it when it does not fit. /// SEND_WITHOUT_ASKING, }