openhands.memory.condenser.impl.llm_summarizing_condenser
LLMSummarizingCondenser Objects
class LLMSummarizingCondenser(Condenser)
A condenser that relies on a language model to summarize the event sequence as a single event.
condense
def condense(events: list[Event]) -> list[Event]
Applies an LLM to summarize the list of events.
Raises:
Exception
- If the LLM is unable to summarize the event sequence.