()
| 475 | |
| 476 | // tell tts server there is a new message |
| 477 | function Helper_NewMessageFlag() { |
| 478 | invoke("fetch_data",{ |
| 479 | method: 'POST', |
| 480 | url: NewMessageFlagApi, |
| 481 | }) |
| 482 | .then(data => { |
| 483 | console.log(data.message); |
| 484 | }) |
| 485 | .catch(error => { |
| 486 | console.log('Helper_NewMessageFlag : did not get data from tts server ->',error); |
| 487 | }); |
| 488 | } |
| 489 | |
| 490 | async function Helper_SayOutLoud(text){ |
| 491 | // const chatConf = await invoke('get_app_conf') || {}; |
no test coverage detected