Added context compression (#1198)

Co-authored-by: Thorsten Sommer <SommerEngineering@users.noreply.github.com>
This commit is contained in:
j-erlerandThorsten Sommer authored and GitHub committed 2026-11-21 14:16:04 +01:00
1 parent 28b88580a9
commit 8a4a26503b
54 files changed
+4582 -56

No files matched your search

@@ -0,0 +1,18 @@
namespace AIStudio.Chat.Compression;
/// <summary>
/// Where the conversation goes on once a chat is compressed.
/// </summary>
public enum ChatCompressionTarget
{
/// <summary>
/// In a new chat of the workspace, while the compressed chat stays as it was, see ChatComponent.
/// </summary>
NEW_CHAT,
/// <summary>
/// In the same chat, whose earlier messages give way to the summary, e.g., the embedded chat of an assistant,
/// which has no workspace to keep a copy in, see EmbeddedChat.
/// </summary>
SAME_CHAT,
}