I've got a setup where I'm doing conversation agents with different personalities. The user can switch personalities mid conversation. I'm wondering, is there a way to persist this information with the memory on messages so that I can display the personalilty name and maybe an avatar? I can't find any documentation (please point me there if there is some) on how to add metadata to messages and then use it with AI SDK useChat.
Thanks!