TeleGPT
TeleGPT copied to clipboard
The program cannot work continuously.
I have found an issue with this program, it cannot work continuously and often needs to be manually executed or reset to work normally. I also noticed that your demo program has the same problem. If we continuously send messages, it will keep displaying "Thinking..." and the following log will appear:
DEBUG telegpt_core::dispatcher > nssss sent a message: 你好
TRACE want > signal: Want
TRACE want > signal: Want
TRACE want > signal: Want
TRACE want > signal: Want
TRACE want > signal: Want
TRACE want > signal: Want
OpenAI response: Ok(
ChatModelResult {
content: "",
token_usage: 3413,
},
)
TRACE want > signal: Want
TRACE want > signal: Want
TRACE want > signal: Want
TRACE want > signal: Want
ERROR telegpt_core::modules::chat > failed to send message (will fallback to raw contents): A Telegram's error: Bad Request: message text is empty
TRACE want > signal: Want
TRACE want > signal: Want
ERROR telegpt_core::modules::chat > Failed to handle chat message: A Telegram's error: Bad Request: message text is empty