Skip to main content

acommit_memory_batch

AsyncMethod
This is a method of the Memory class in the memory module.
Async variant preferring store_*_async when available. Blocking store_* work is offloaded to a worker thread so the event loop is never blocked, and each write is gated by the same deadline / cancellation guard as the sync path so late or cancelled facts are not persisted after compaction resumes.

Signature

Parameters

List[tuple]
required
No description available.

Uses

  • async_method
  • inspect.isawaitable
  • asyncio.to_thread
  • store

Source

View on GitHub

praisonaiagents/memory/memory.py at line 436

Memory Concept

Memory Overview

Memory Configuration

Session Resume