Class BetaManagedAgentsEventAccumulator

  • All Implemented Interfaces:

    
    public final class BetaManagedAgentsEventAccumulator
    
                        

    Folds event_start / event_delta preview events from a session stream into per-event-id agent.message snapshots. Deltas are lossy previews; the buffered agent.message event is canonical and replaces the preview. span.model_request_end discards open previews; reconciled canonical messages survive.

    Not thread-safe, like the other helpers in this package.