yym68686 / ChatGPT-Telegram-Bot

TeleChat: 🤖️ an AI chat Telegram bot can Web Search Powered by GPT-3.5/4/4 Turbo/4o, DALL·E 3, Groq, Gemini 1.5 Pro/Flash and the official Claude2.1/3/3.5 API using Python on Zeabur, fly.io and Replit.
https://t.me/chatgpt68_bot
GNU General Public License v3.0
732 stars 209 forks source link

/reset or chat_history not work #62

Open ratu-sh opened 2 hours ago

ratu-sh commented 2 hours ago

when check or uncheck "chat history" parameter in settings - chatbot not clear its context by /reset command - even after clearing chat in Telegram - it still answers with previous context in mind. only thing that really clears chatbot context - is restarting python on server side.

if it is not a bug, than what purpose of /reset button? maybe you can add command /clear - to clear context of bot to start new conversation without old chatings?

yym68686 commented 2 hours ago

Hello, please paste the operation process log that can describe the bug. For example: I selected the chat history, copied the question log, and continued to ask the bot for the backend log after resetting. Also, provide all environment variable settings.