Zero6992 / chatGPT-discord-bot

Integrate ChatGPT into your own discord bot
GNU General Public License v2.0
2.63k stars 701 forks source link

Answers are not written completely #318

Closed Arusina closed 1 year ago

Arusina commented 1 year ago

I have a problem with the messages. When questions are asked, sometimes the message is truncated.

grafik grafik

This does not always happen. It doesn't matter in which language (tested in German and English).

Repoducibility: Write messages, sometime the error comes. I estimate about 1/5 of the messages are then not complete.

Questions: I suspect that it breaks off somewhere in the chain from

answer from open ai -> python program -> discord chat

Is there a way to increase the logging? Is there somewhere to read if the python program is getting the response complete from openai? With this you could start to narrow down the error further.

Zero6992 commented 1 year ago

which model are you using? Unofficial or official? gpt-4 or gpt-3.5?

Arusina commented 1 year ago

OPENAI_ENGINE = "gpt-3.5-turbo " CHAT_MODEL="OFFICIAL"

grafik

The Python is running on Ubuntu 20.04.6 LTS machine with python3.

Arusina commented 1 year ago

Updated to the newest version, since then it's working perfectly.