Class MemoryObserver

Constructors

Methods

  • Run reflection if accumulated compressed observations exceed the token threshold.

    When the total estimated tokens of accumulated compressed observations exceeds the configured threshold (default: 40,000 tokens), the ObservationReflector is invoked to extract higher-level patterns.

    Returns Promise<null | Reflection[]>

    Reflections if threshold was met, null otherwise.