Why persisting Message Thread implementation ignored the messages for role - System?

For example, I access the Mastra Agents via POST: /agents/<agentId>/stream { // if these parameters are present - messages for role - system is ignored "threadId": "sample-tread-id123433345435555", "resourceId": "sample-tread-id123433345435555", "runId": "sample-tread-id12343332454",
"messages": [ { "role": "user", "content": "okay, my name is Prinzessin Friederike Schleswig-Holstein-Sonderburg-Glücksburg, " }, // ignored when threadId and ResourceId is present { "role": "system", "content": "You are always put jokes in your conversation and also always say Super!!!!" } ] } I am using this module: mastra/core@0.15.x I notice this when I tried to check the parameters passed from Agent to the Model ( see attachment ) - you will the system message that I included in the request is removed / ignored
No description
4 Replies
Mastra Triager
Mastra Triager2mo ago
GitHub
[DISCORD:1415197334266052658] Why persisting Message Thread impleme...
This issue was created from Discord post: https://discord.com/channels/1309558646228779139/1415197334266052658 For example, I access the Mastra Agents via POST: /agents//stream { // if these parame...
_roamin_
_roamin_2mo ago
Hi, @Chaosumaru ! This looks like a bug, please follow the above github issue for updates 😉
Chaosumaru
ChaosumaruOP2mo ago
Thank you for the response
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View

Did you find this page helpful?