Added settings for chat compression, with a model of its own (#1241)

This commit is contained in:
Thorsten Sommer authored and GitHub committed 2026-11-27 16:35:51 +01:00
1 parent 899139c88b
commit 1fbc1f4796
71 files changed
+3023 -797

No files matched your search

@@ -0,0 +1,22 @@
namespace AIStudio.Chat.Compression;
/// <summary>
/// What a chat does with a message which would fill the context window of the model, see ContextWindowFullHandling.Decide.
/// </summary>
public enum ContextWindowFullAction
{
/// <summary>
/// Ask the user what to do, see ContextWindowFullDialog.
/// </summary>
ASK,
/// <summary>
/// Send the message without asking.
/// </summary>
SEND,
/// <summary>
/// Compress the chat without asking, and decide once more afterward.
/// </summary>
COMPRESS,
}