Skip to main content

CnAiMessageList

Scrollable transcript for the AI Chat Companion — renders the conversation messages, the in-progress streaming text, and tool-call entries. Used inside CnAiChatPanel.

Props

PropTypeRequiredDefaultNotes
messagesArrayNo[]Message objects: { role, content, toolCalls? }.
currentText (current-text)StringNo''Partial assistant text built from the current token stream; rendered as the last (in-progress) bubble.

Slots

SlotDescription
emptyRendered when there are no messages and no currentText — the "start a conversation" placeholder.

Reference