mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
Checkpoint
This commit is contained in:
@@ -58,7 +58,7 @@ public sealed class SummarizationCompactionStrategy : ICompactionStrategy
|
||||
public string SummarizationPrompt { get; }
|
||||
|
||||
/// <inheritdoc/>
|
||||
public async Task<bool> CompactAsync(MessageGroups groups, CancellationToken cancellationToken = default)
|
||||
public async Task<bool> CompactAsync(MessageIndex groups, CancellationToken cancellationToken = default)
|
||||
{
|
||||
int includedCount = groups.IncludedGroupCount;
|
||||
if (includedCount <= this.MaxGroupsBeforeSummary)
|
||||
|
||||
Reference in New Issue
Block a user