We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa22400 commit 465811cCopy full SHA for 465811c
typescript-sdk/apps/dojo/src/local/mastra.ts
@@ -2,6 +2,8 @@ import "server-only";
2
import { openai } from "@ai-sdk/openai";
3
import { Agent } from "@mastra/core/agent";
4
import { Memory } from "@mastra/memory";
5
+import { MockStore } from "@mastra/core/storage";
6
+
7
// import { weatherTool } from "../tools/weather-tool";
8
9
export const agenticChatMastraAgent = (name: string) =>
@@ -21,5 +23,7 @@ export const agenticChatMastraAgent = (name: string) =>
21
23
`,
22
24
model: openai("gpt-4o-mini"),
25
// tools: { weatherTool },
- memory: new Memory({}),
26
+ memory: new Memory({
27
+ storage: new MockStore(),
28
+ }),
29
});
0 commit comments