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 a330764 commit 90cd5baCopy full SHA for 90cd5ba
typescript-sdk/integrations/mastra/src/mastra.ts
@@ -74,6 +74,7 @@ export class MastraAgent extends AbstractAgent {
74
75
// Handle local agent memory management (from Mastra implementation)
76
if ("metrics" in this.agent) {
77
+ // @ts-ignore
78
const memory = this.agent.getMemory();
79
80
if (memory && input.state && Object.keys(input.state || {}).length > 0) {
@@ -164,6 +165,7 @@ export class MastraAgent extends AbstractAgent {
164
165
onRunFinished: async () => {
166
167
try {
168
169
170
if (memory) {
171
const workingMemory = await memory.getWorkingMemory({
0 commit comments