Skip to content
Type

MemoryMessageFilter

Defined in: src/memory/extraction/types.ts:28

Filters content blocks out of messages before extraction.

Blocks whose kind is in exclude are stripped; a message left with no content is dropped entirely. Defaults to excluding tool traffic (toolUse / toolResult), which is rarely useful as long-term memory and adds noise.

exclude: MemoryContentBlockType[];

Defined in: src/memory/extraction/types.ts:30

Content block kinds to strip before extraction.