MemoryStore
openmolt / MemoryStore
Interface: MemoryStore
Defined in: types/index.ts:228
A memory store with optional update callback.
Properties
data
data:
string
Defined in: types/index.ts:230
Initial memory content (plain text or JSON string).
onUpdate()?
optionalonUpdate: (newData) =>Promise<void>
Defined in: types/index.ts:232
Called with the new content whenever memory is updated by the agent.
Parameters
newData
string
Returns
Promise<void>