Unsupported role: tool when using memory
When calling tools on the client and using
MessageConversionError [AI_MessageConversionError]: Unsupported role: tool
this happens on
and it only happens while using memory, here is my exact implementation of the memory:
the memory works though
useChat onToolCall() callback, i return the result, however on my mastra server i get a:MessageConversionError [AI_MessageConversionError]: Unsupported role: tool
this happens on
"@mastra/core": "0.6.1-alpha.0" and "@mastra/core": "0.6.1-alpha.1".and it only happens while using memory, here is my exact implementation of the memory:
the memory works though


