MCPcopy Create free account
hub / github.com/NsLearning/LangHelper / Helper_NewMessageFlag

Function Helper_NewMessageFlag

ChatGPT/src-tauri/src/scripts/chat.js:477–488  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

475
476// tell tts server there is a new message
477function 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
490async function Helper_SayOutLoud(text){
491 // const chatConf = await invoke('get_app_conf') || {};

Callers 1

Helper_CheckNewMessagesFunction · 0.85

Calls 1

invokeFunction · 0.85

Tested by

no test coverage detected