mirror of
https://github.com/voideditor/void
synced 2026-05-24 09:58:23 +00:00
comment
This commit is contained in:
parent
46db2c6e95
commit
8ef693b218
1 changed files with 6 additions and 1 deletions
|
|
@ -1654,7 +1654,12 @@ const toolNameToComponent: { [T in ToolName]: {
|
|||
|
||||
|
||||
type ChatBubbleMode = 'display' | 'edit'
|
||||
type ChatBubbleProps = { chatMessage: ChatMessage, messageIdx: number, isCommitted: boolean, isLast: boolean }
|
||||
type ChatBubbleProps = {
|
||||
chatMessage: ChatMessage,
|
||||
messageIdx: number,
|
||||
isCommitted: boolean,
|
||||
isLast: boolean, // includes the streaming message (if streaming, isLast is false except for the streaming message)
|
||||
}
|
||||
|
||||
const ChatBubble = ({ chatMessage, isCommitted, messageIdx, isLast }: ChatBubbleProps) => {
|
||||
const role = chatMessage.role
|
||||
|
|
|
|||
Loading…
Reference in a new issue