Skip to content
Prompty

CompactionCompletePayload

Payload for “compaction_complete” events — context compaction finished.

---
title: CompactionCompletePayload
config:
  look: handDrawn
  theme: colorful
  class:
    hideEmptyMembersBox: true
---
classDiagram
    class CompactionCompletePayload {
        +int32 removed
        +int32 remaining
        +int32 summaryLength
    }
removed: 5
remaining: 3
summaryLength: 1200
Name Type Description
removed int32 Number of messages removed during compaction
remaining int32 Number of messages remaining after compaction
summaryLength int32 Length of the generated summary, when a summarization strategy is used