Skip to main content

Interface: IRollingSummaryMemorySink

Defined in: packages/agentos/src/core/conversation/IRollingSummaryMemorySink.ts:65

Implement this interface to capture rolling-summary updates into a durable store.

Implementations should be:

  • idempotent (same update may be retried)
  • best-effort (failures should not break the core chat loop)
  • strict where a learning layer records its writes (an update with turnScopes): an upsert it cannot record writes nothing and rejects

Methods​

upsertRollingSummaryMemory()​

upsertRollingSummaryMemory(update): Promise<void>

Defined in: packages/agentos/src/core/conversation/IRollingSummaryMemorySink.ts:66

Parameters​

update​

RollingSummaryMemoryUpdate

Returns​

Promise<void>