ingestMemory
function ingestMemory(outcome, options): Promise<MemoryIngestResult>;Defined in: agents/src/memory.ts:830
Explicit host action, never an observer hook. Pass an authoritative settled outcome and host-selected notes. The store, not this helper’s key, enforces the receipt transaction.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
outcome |
RunOutcome<unknown> |
options |
{ memory: MemoryBinding; notes: readonly MemoryInput[]; signal?: AbortSignal; } |
options.memory |
MemoryBinding |
options.notes |
readonly MemoryInput[] |
options.signal? |
AbortSignal |
Returns
Section titled “Returns”Promise<MemoryIngestResult>