v5.2.0
New
• Added messageStream observable and streamingState observable, enabling developers to subscribe to AI agent message events and stream content updates in real time.
• Added CometChatAIAssistantMessageBubble with Markdown support, enabling clear and formatted rendering of AI Agent messages for improved readability and user experience.
• Provided quick starter suggestions in the empty state to help users begin interactions with the AI agent faster.
• Added "New Chat" button to reset conversation context and chat history sidebar for easy access to previous sessions.
• Enabled full customization through props, including:
• Streaming speed adjustments.
• Custom header, empty state, and error views.
• Visibility toggles for suggestions, history, and new chat buttons.
• Introduced callback actions for:
• onBackButtonClicked — Handle back navigation.
• onCloseButtonClicked — Handle closing the assistant chat.
• onError — Capture and handle runtime errors from header, list, or composer.
• Added aiAssistantTools prop to enable AI agent tool/function calls during conversation.
Enhancements
• None
Fixes
• None