From ee86343cca74bc6a4c87680edbe70d4487b0c365 Mon Sep 17 00:00:00 2001 From: mraniki Date: Thu, 28 Mar 2024 16:19:40 +0100 Subject: [PATCH 1/2] :ambulance: fix --- tt/plugins/default_plugins/llm_plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tt/plugins/default_plugins/llm_plugin.py b/tt/plugins/default_plugins/llm_plugin.py index c1c5a4890..7bf7cda41 100644 --- a/tt/plugins/default_plugins/llm_plugin.py +++ b/tt/plugins/default_plugins/llm_plugin.py @@ -38,7 +38,7 @@ async def handle_message(self, msg): command_mapping = { settings.bot_command_info: self.llm.get_info, - settings.bot_command_aimode: self.llm.switch_continous_mode, + settings.bot_command_aimode: #self.llm.switch_continous_mode, settings.bot_command_aiclear: self.llm.clear_chat_history, settings.bot_command_aiexport: self.llm.export_chat_history, settings.bot_command_aichat: lambda: self.llm.chat(str(args)), From 35632a29245cd2a8b5ac74cfb06960a3e08fb539 Mon Sep 17 00:00:00 2001 From: mraniki <8766259+mraniki@users.noreply.github.com> Date: Thu, 28 Mar 2024 16:44:08 +0100 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=9A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tt/plugins/default_plugins/llm_plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tt/plugins/default_plugins/llm_plugin.py b/tt/plugins/default_plugins/llm_plugin.py index 7bf7cda41..ddb2136a4 100644 --- a/tt/plugins/default_plugins/llm_plugin.py +++ b/tt/plugins/default_plugins/llm_plugin.py @@ -38,7 +38,7 @@ async def handle_message(self, msg): command_mapping = { settings.bot_command_info: self.llm.get_info, - settings.bot_command_aimode: #self.llm.switch_continous_mode, + # settings.bot_command_aimode: self.llm.switch_continous_mode, settings.bot_command_aiclear: self.llm.clear_chat_history, settings.bot_command_aiexport: self.llm.export_chat_history, settings.bot_command_aichat: lambda: self.llm.chat(str(args)),