Skip to content

WorkingMemoryConfig

optional autoLoad?: WorkingMemoryBlockSpec[];

optional defaultCharLimit?: number;

Default character limit per block when not specified at write time.

PersistentMemoryConfig.defaultCharLimit


optional scanForInjection?: boolean;

When true (default), reject writes whose content matches a prompt-injection pattern.

PersistentMemoryConfig.scanForInjection


optional store?: PersistentMemoryStore;

The store backend. Defaults to FilePersistentMemoryStore when omitted.

PersistentMemoryConfig.store