diff --git a/BotHandler.py b/BotHandler.py index 85343aae..5f1a89cb 100644 --- a/BotHandler.py +++ b/BotHandler.py @@ -498,14 +498,17 @@ async def bot_command_clear(self, update: Update, context: ContextTypes.DEFAULT_ # Clear ChatGPT if requested_module == "chatgpt": self.chatgpt_module.clear_conversation_for_user(user) + requested_module = self.messages["modules"][0] # Clear EdgeGPT elif requested_module == "edgegpt": self.edgegpt_module.clear_conversation() + requested_module = self.messages["modules"][2] # Clear Bard elif requested_module == "bard": self.bard_module.clear_conversation_for_user(user) + requested_module = self.messages["modules"][3] # Wrong module else: diff --git a/README.md b/README.md index fe950c78..47417dc5 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,8 @@ Support the project by buying and listening to my music 🎵 - 🟦 [Bandcamp](https://f3rni.bandcamp.com) - 🟧 [SoundCloud](https://soundcloud.com/f3rni) +[![Star History Chart](https://api.star-history.com/svg?repos=F33RNI/GPT-Telegramus&type=Date)](https://star-history.com/#F33RNI/GPT-Telegramus&Date) + ---------- ## 📙 Dependencies @@ -181,6 +183,7 @@ You can enable and configure data collection in config in `data_collecting` bloc ## 📝 TODO - Add some free GPT-4 model +- Add buttons to the telegram bot (reply markup) ---------- diff --git a/main.py b/main.py index 4a8d5fa4..1b778eae 100644 --- a/main.py +++ b/main.py @@ -32,7 +32,7 @@ from JSONReaderWriter import load_json # GPT-Telegramus version -__version__ = "2.1.0" +__version__ = "2.1.2" # Logging level LOGGING_LEVEL = logging.INFO diff --git a/requirements.txt b/requirements.txt index 8306c74d..22f138b4 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,11 +1,11 @@ psutil>=5.9.1 telegram~=0.0.1 python-telegram-bot>=20.2 -revChatGPT==5.0.2 -EdgeGPT==0.3.8.1 +revChatGPT==5.0.3 +EdgeGPT==0.4.4 openai>=0.26.4 tiktoken>=0.2.0 OpenAIAuth>=0.3.2 asyncio==3.4.3 -GoogleBard==1.0.0 +GoogleBard==1.0.3 requests>=2.28.1 \ No newline at end of file