Interface: FormatMemoryTraceOptions
Defined in: packages/agentos/src/cognition/memory/core/prompt/MemoryFormatters.ts:33
Options for formatMemoryTrace.
Properties
maxChars?
optionalmaxChars:number
Defined in: packages/agentos/src/cognition/memory/core/prompt/MemoryFormatters.ts:42
The longest line, in characters, the caller has room for. When the whole line is longer, the content is cut at a word boundary to fit and ends with MEMORY_CUT_MARKER; when even a short cut does not fit (MIN_CUT_CONTENT_CHARS characters of content), the result is the empty string. Omitted: the content is rendered whole. The memory block never passes it: no line of the block is a trace cut to fit.
now?
optionalnow:number
Defined in: packages/agentos/src/cognition/memory/core/prompt/MemoryFormatters.ts:44
The time ages are measured from, in epoch ms. Defaults to Date.now().