mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-23 06:33:48 +00:00
Added context compression (#1198)
Co-authored-by: Thorsten Sommer <SommerEngineering@users.noreply.github.com>
This commit is contained in:
1 parent
28b88580a9
commit
8a4a26503b
54 files changed
+4582
-56
No files matched your search
@@ -0,0 +1,25 @@
|
||||
namespace AIStudio.Dialogs;
|
||||
|
||||
/// <summary>
|
||||
/// What is about to be sent when the context window of the model is nearly full, see ContextWindowFullDialog.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Decides how the notice words what fills the window and what compressing would do.
|
||||
/// </remarks>
|
||||
public enum ContextWindowFullSubject
|
||||
{
|
||||
/// <summary>
|
||||
/// A message of the chat page, which compressing continues in a new chat.
|
||||
/// </summary>
|
||||
CHAT,
|
||||
|
||||
/// <summary>
|
||||
/// A message of the embedded chat of an assistant, whose earlier messages compressing replaces with the summary.
|
||||
/// </summary>
|
||||
EMBEDDED_CHAT,
|
||||
|
||||
/// <summary>
|
||||
/// A request of an assistant, together with its files, which nothing compresses.
|
||||
/// </summary>
|
||||
ASSISTANT_REQUEST,
|
||||
}
|
||||
Reference in new issue
Block a user