onFinish: async()

in src/azurechat/features/chat/chat-ui/chat-context.tsx [80:85]


    onFinish: async (lastMessage: Message) => {
      if (isMicrophoneUsed) {
        await textToSpeech(lastMessage.content);
        resetMicrophoneUsed();
      }
    },