Enter to send·Shift+Enter new line
SummarizationEvent()
TypedDict
The index in the messages list where summarization occurred.
Id of the message at cutoff_index; stays correct when earlier messages are removed.
cutoff_index
None if that message has no id. Absent on events created before this field existed.
None
The HumanMessage containing the summary.
HumanMessage
Path where the conversation history was offloaded, or None if offload failed.
Number of state messages when the summary was created.
Messages from cutoff_index up to this index were kept verbatim from before the summary. Claude binds each reasoning block to the conversation before it and can reject a request once that conversation changes, so their reasoning blocks are left out of the messages the model sees. Absent on events created before this field existed.
Represents a summarization event.