ai-chatbot
ai-chatbot copied to clipboard
Update addToolMessageToChat function to use `parts` instead of `toolInvocations` which is deprecated
The utility function addToolMessageToChat function is using message.toolInvocations which is deprecated and should now now use parts
This happens when using ai version ^4.1.47
@Irere123 Thanks for opening this issue! The template currently uses the updated message parts and addToolMessageToChat has been removed in #951