Slots

Message

messagePagination
Render the pagination block for message branches.
Type: MessagePaginationProps


messagePaginationRoot
Root container for message pagination (branches).
Type: StackProps


messagePaginationText
Typography component for message pagination (branches).
Type: TypographyProps


messagePaginationButton
IconButton for arrows.
Type: IconButtonProps


messageAssistantFooter
Render some information under the assistant’s message.
Type: { message: any }


messageAssistantProgress
Render the component while sending a request to the chat or while “thinking.”
Type: BoxProps & { thread: ThreadAbstract }


messageAssistantProgressText
Typography for the component displayed while sending a request to the chat or while “thinking.”
Type: TypographyProps


Markdown

markdown
Custom markdown renderer.
Type: { text: string }


markdownA
Render links.
Type: LinkProps


markdownTable
Render tables (<table>).
Type: TableProps


markdownThead
Render table head (<thead>).
Type: TableHeadProps


markdownTbody
Render table body (<tbody>).
Type: TableBodyProps


markdownTr
Render table row (<tr>).
Type: TableRowProps


markdownTh
Render table head cell (<th>).
Type: TableCellProps


markdownTd
Render table cell (<td>).
Type: TableCellProps


markdownTdText
Custom typography for table cells.
Type: TypographyProps


markdownSpan
Render spans (<span>).
Type: TypographyProps


markdownUl
Render lists (<ul>).
Type: React.OlHTMLAttributes<HTMLOListElement>


markdownOl
Render numeric lists (<ol>).
Type: React.HTMLAttributes<HTMLUListElement>


markdownH1
Render headers (<h1>).
Type: TypographyProps


markdownH2
Render headers (<h2>).
Type: TypographyProps


markdownH3
Render headers (<h3>).
Type: TypographyProps


markdownH4
Render headers (<h4>).
Type: TypographyProps


markdownH5
Render headers (<h5>).
Type: TypographyProps


markdownH6
Render headers (<h6>).
Type: TypographyProps


markdownImg
Render images (<img>).
Type: React.JSX.IntrinsicElements['img']


markdownP
Render paragraphs (<p>).
Type: TypographyProps

History

baseMenuItem
Override the MenuItem components.
Type: MdMenuItemProps


baseListItemText
Override the ListItemText components.
Type: ListItemTextProps


baseButton
Override the Button components.
Type: ButtonProps


baseIconButton
Override the IconButton components.
Type: IconButtonProps


historyContainer
History outer container.
Type: BoxProps


historyWrapper
History inner wrapper.
Type: StackProps


threadsList
List of threads.
Type: StackProps


listDrawer
Drawer component (mobile version).
Type: DrawerProps


listDrawerTitle
Title for the listDrawer (same as listSubtitle).
Type: TypographyProps


threadListItemMenuButton
Thread menu button.
Type: IconButtonProps & { threadId: IdType }


listSubtitle
Subtitle component for the list container.
Type: TypographyProps


listTimeText
Typography component for rendering time text (today, last week, last 30 days, etc.).
Type: TypographyProps


listTimeTextWrapper
listTimeText wrapper.
Type: React.HTMLAttributes<HTMLDivElement>