Why the memory property in Agent is unable to get the context from runtime?

I logged the runtime context from both Memory and Instructions. It’s being received correctly by Instructions, but not by Memory. Please see my attachments
No description
No description
No description
6 Replies
Chaosumaru
ChaosumaruOP4d ago
both Memory and Instructions should have same context received from runtime right?
Mastra Triager
GitHub
[DISCORD:1428922216132907038] Why the memory property in Agent is u...
This issue was created from Discord post: https://discord.com/channels/1309558646228779139/1428922216132907038 I logged the runtime context from both Memory and Instructions. It’s being received co...
Ward
Ward2d ago
@Chaosumaru how do you use runtimeContext in your code, can you show us a small reproduction?
Chaosumaru
ChaosumaruOP2d ago
@Ward here, it is just a basic get from the runtimecontext
No description
No description
Ward
Ward2d ago
That's odd, we'll have a look
Chaosumaru
ChaosumaruOP2d ago
Yeah I thought it was working, Cause I assume it should work since, I tried instructions, model, workflows, and tools are working fine for me... I am not sure yet with other properties

Did you find this page helpful?