Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The program cannot work continuously. #18

Open
Voldeemort opened this issue Mar 31, 2023 · 0 comments
Open

The program cannot work continuously. #18

Voldeemort opened this issue Mar 31, 2023 · 0 comments

Comments

@Voldeemort
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant