Update useChatStreamMessage.ts

This commit is contained in:
Nate Kelley 2025-03-04 12:28:28 -07:00
parent a341f3820d
commit a5b5f4cc5d
No known key found for this signature in database
GPG Key ID: FD90372AB8D98B4F
1 changed files with 2 additions and 0 deletions

View File

@ -91,6 +91,8 @@ export const useChatStreamMessage = () => {
const initializeNewChatCallback = useMemoizedFn((d: BusterChat) => { const initializeNewChatCallback = useMemoizedFn((d: BusterChat) => {
const { iChat, iChatMessages } = updateChatToIChat(d, true); const { iChat, iChatMessages } = updateChatToIChat(d, true);
console.log('iChatMessages', iChatMessages);
console.log('iChat', iChat);
normalizeChatMessage(iChatMessages); normalizeChatMessage(iChatMessages);
onUpdateChat(iChat); onUpdateChat(iChat);
onChangePage({ onChangePage({