mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-23 05:53: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,9 @@
|
||||
namespace AIStudio.Chat.Compression;
|
||||
|
||||
/// <summary>
|
||||
/// Tells what compressing a chat is busy with right now.
|
||||
/// </summary>
|
||||
/// <param name="Step">What compressing is busy with.</param>
|
||||
/// <param name="Current">The part being summarized, counted from 1; 0 while reading the files.</param>
|
||||
/// <param name="Total">How many parts the conversation was split into, as far as known by now; 0 while reading the files.</param>
|
||||
public readonly record struct ChatCompressionProgress(ChatCompressionStep Step, int Current, int Total);
|
||||
Reference in new issue
Block a user