Add maxVisibleComments prop to Thread to control the maximum number of
comments to show. When comments are hidden, a "Show more replies" button is
shown to allow users to expand the thread.
Add onComposerSubmit callback to AiChat triggered when a new message is
sent. It can also be used to customize message submission by calling
useSendAiMessage yourself.
Overrides and CSS classes for AiChat's composer have been renamed:
Add query option to useAiChats to filter the current user’s AI chats by
metadata. Supports exact matches for string values, "contains all" for string
arrays, and filtering by absence using null (e.g.
{ metadata: { archived: null } }).
useSendAiMessage now accepts passing the chat ID and/or options to the
function rather than the hook. This can be useful in dynamic scenarios where
the chat ID might not be known when calling the hook for example.
useCreateAiChat now accepts a chat ID as a string instead of
{ id: "chat-id" }.