Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ui-kit/react/v6/ai-assistant-chat.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"onBackButtonClicked": "() => void",
"onCloseButtonClicked": "() => void",
"onSendButtonClick": "(message: CometChat.BaseMessage, previewMessageMode?: PreviewMessageMode) => void",
"onError": "(e: CometChat.CometChatException) => void"

Check warning on line 45 in ui-kit/react/v6/ai-assistant-chat.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react/v6/ai-assistant-chat.mdx#L45

Did you really mean 'onError'?
},
"events": null,
"minimalExample": "<CometChatAIAssistantChat user={agentUser} />"
Expand All @@ -55,7 +55,7 @@
`CometChatAIAssistantChat` is a standalone AI chat panel. It composes an internal message header, message list, and message composer into a self-contained AI conversation experience. It requires a `CometChat.User` representing the AI agent.

<Note>
**1:1 conversations only.** AI Agents currently respond only in one-on-one conversations between an end user and the agent user. They do not respond to messages sent in groups, even if the agent user is added as a member or owner. Group support is on the roadmap — share your use case on [feedback.cometchat.com](https://feedback.cometchat.com).
**1:1 and group conversations.** AI Agents work in both one-on-one and group conversations. In a 1:1 chat, the end user talks directly with the agent user. In a group, the agent participates as a member — its messages (including cards) are delivered and attributed like any other member's message. If the group contains only one user and one agent, the agent responds automatically. In groups with more than two members, the agent only responds when @mentioned.
</Note>

```tsx lines
Expand Down Expand Up @@ -267,9 +267,9 @@
| `emptyChatImageView` | `JSX.Element` | Empty state image |
| `emptyChatGreetingView` | `JSX.Element` | Empty state greeting title |
| `emptyChatIntroMessageView` | `JSX.Element` | Empty state intro subtitle |
| `emptyView` | `JSX.Element` | Message list empty state |

Check warning on line 270 in ui-kit/react/v6/ai-assistant-chat.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react/v6/ai-assistant-chat.mdx#L270

Did you really mean 'emptyView'?
| `loadingView` | `JSX.Element` | Loading state |

Check warning on line 271 in ui-kit/react/v6/ai-assistant-chat.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react/v6/ai-assistant-chat.mdx#L271

Did you really mean 'loadingView'?
| `errorView` | `JSX.Element` | Error state |

Check warning on line 272 in ui-kit/react/v6/ai-assistant-chat.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react/v6/ai-assistant-chat.mdx#L272

Did you really mean 'errorView'?
| `aiAssistantTools` | `CometChatAIAssistantTools` | Tool/function call handlers |
| `templates` | `CometChatMessageTemplate[]` | Message bubble templates |

Expand Down