|
|
|
@ -227,8 +227,9 @@ export function FreeFlow(){ |
|
|
|
refChatCueEnd.current=false; |
|
|
|
refChatCueEnd.current=false; |
|
|
|
resetTranscript(); |
|
|
|
resetTranscript(); |
|
|
|
console.log('Starting conversation...'); |
|
|
|
console.log('Starting conversation...'); |
|
|
|
sendMessage(null, false, false, null); // Send initial message with voice |
|
|
|
setChatStatus(ChatStatus.User); |
|
|
|
setChatWelcome(true); |
|
|
|
//sendMessage(null, false, false, null); // Send initial message with voice |
|
|
|
|
|
|
|
//setChatWelcome(true); |
|
|
|
resetData(); // Reset data for new conversation |
|
|
|
resetData(); // Reset data for new conversation |
|
|
|
break; |
|
|
|
break; |
|
|
|
// case 'chat_end': |
|
|
|
// case 'chat_end': |
|
|
|
|