AgentBackendEventContextCompressionEvent
An event sent from the agent backend to the client during an agent task execution.
Properties
messagestring optionalOptional short human-readable messagestatusenum requiredStatus of the compression processValues:compressing,compressed,failed,skippedcontext_summarystring optionalOptional context summary generated by the LLM on successful compressiontail_lengthinteger optionalOptional length of the tail preserved after compressiontimestampstring requiredWhen the event occurred.typestring required