father-bot / chatgpt_telegram_bot

💬 Telegram bot with ChatGPT, Python-based, using OpenAI's API.
https://t.me/chatgpt_karfly_bot
MIT License
5.2k stars 1.82k forks source link

Chat context is not preserved, every new message starts a new chat #451

Closed ihor-chaban closed 7 months ago

ihor-chaban commented 7 months ago

As the title says, I noticed this strange behavior after upgrading recently to 57ee703 (from v1.4 to v1.5) It looks like the context is not saved and every new message starts a new chat. I tried the same with different models and modes.

Example:

Screenshot 2024-04-12 at 7 24 12 PM

No errors were noticed in the logs.

Thetail001 commented 7 months ago

+1 image

OlegGoless commented 7 months ago

hi, i fixed this bug, thank you for your feedback