addMemory
open suspend override fun addMemory(appName: String, userId: String, memories: List<MemoryEntry>, customMetadata: Map<String, Any?>?)
Adds explicit memory items directly to the memory service.
This is intended for services that support direct memory writes in addition to event-based memory generation.
Parameters
appName
The application name for memory scope.
userId
The user ID for memory scope.
memories
Explicit memory items to add.
customMetadata
Optional, portable metadata for memory writes.