CompactionStarted
autogen.beta.events.lifecycle.CompactionStarted #
Bases: BaseEvent
Emitted on the agent's stream when compaction begins.
Paired with either CompactionCompleted (success) or CompactionFailed (the strategy raised). Subscribe to both if you need to know that a compaction attempt was made — relying on CompactionCompleted alone hides errors.
Source code in autogen/beta/events/base.py
created_at class-attribute instance-attribute #
to_dict #
from_dict classmethod #
Reconstruct an event from a serialized dictionary.
Filters input to only fields known by this class (via MRO Field descriptors), then constructs via cls(**filtered).