Skip to Content

Type Alias ScopedCreateMemoryOptions

ScopedCreateMemoryOptions: Omit<CreateMemoryOptions, "domain" | "sessionId">

What Session.createMemory writes a new memory from.

CreateMemoryOptions with the domain and the session removed, so the memory always lands in the session's domain and is always recorded as part of that work. Everything else holds: title and content are bounded together, and the source still defaults to DataSource.AGENT.