@mastra/memory 1.41.1-alpha.4 → 1.41.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -199,6 +199,8 @@ import { Memory } from '@mastra/memory'
199
199
  export const memoryAgent = new Agent({
200
200
  id: 'memory-agent',
201
201
  name: 'Memory Agent',
202
+ instructions: 'You are a helpful assistant.',
203
+ model: 'openai/gpt-6-luna',
202
204
  memory: new Memory({
203
205
  options: {
204
206
  observationalMemory: true,
@@ -207,6 +209,8 @@ export const memoryAgent = new Agent({
207
209
  })
208
210
  ```
209
211
 
212
+ Observational Memory needs a storage adapter that supports it, and with any other adapter it turns off without a warning and stored history doesn't load.
213
+
210
214
  See [Observational Memory](https://mastra.ai/docs/memory/observational-memory) for details on how observations and reflections work, and [the reference](https://mastra.ai/reference/memory/observational-memory) for all configuration options.
211
215
 
212
216
  ## What the model sees