Memory UIMessages with assistant toolInvocations separate from assistant content
Hi! One thing I noticed as I used Mastra memory more is that persisted UIMessages, when responding to a user message that invokes a tool, will end up with one individual message for the tool invocation and no content, and then another with the content and no tool invocation. I see that there are deeper changes being made regarding the schema of the UIMessages on Memory, but my question is if this will still be the behaviour after those changes, or if it will become like the messages that AI SDK
useChat
useChat
creates when streaming the answer, which has both the tool invocations and the content in a single message - and repeated as