new HybridStrategy(llmInvoker?, observer?, reflector?): HybridStrategy
Parameters
OptionalllmInvoker: ((prompt) => Promise<string>)
Writes the narrative summary. Without one, or when it
fails or answers nothing, the summary is the ten most important
observation notes, or without notes the segment's first three user
messages, cut to the tokens the segment held less the summary message's
header, after an earlier summary in the segment, carried forward as far as
the window has room for it under the compaction threshold.
Writes the narrative summary. Without one, or when it fails or answers nothing, the summary is the ten most important observation notes, or without notes the segment's first three user messages, cut to the tokens the segment held less the summary message's header, after an earlier summary in the segment, carried forward as far as the window has room for it under the compaction threshold.