cognition) {
        talkRecognition.onstart = () => {
          talkActive.value = true;
        }
        talkRecognition.onresult = (e) => {
          if (event.results.length > 0) {
            message.value = event.results[0][0].transcript;
            if (sendOnTalk.value) {
              submit(e);
            }
          }
        }
        talkRecognition.onspeechend = () => {
          talkStop();
        }
      }

      const ttsVoices = useSignal(tts?.getVoices() || []);
     