跳到主要内容

openhands.memory.condenser.impl.observation_masking_condenser

ObservationMaskingCondenser Objects

class ObservationMaskingCondenser(Condenser)

A condenser that masks the values of observations outside of a recent attention window.

condense

def condense(events: list[Event]) -> list[Event]

Replace the content of observations outside of the attention window with a placeholder.