mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-12-04 22:24:35 +00:00
Added settings for chat compression, with a model of its own (#1241)
This commit is contained in:
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,
|
||||
}
|
||||
Reference in new issue
Block a user