From 4a7f5573154f6735070b5f659c322068b2f37364 Mon Sep 17 00:00:00 2001 From: Cyberes Date: Sun, 19 Mar 2023 19:47:50 -0600 Subject: [PATCH] t --- matrix_gpt/bot/callbacks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matrix_gpt/bot/callbacks.py b/matrix_gpt/bot/callbacks.py index 2e26c5d..e9cddfd 100644 --- a/matrix_gpt/bot/callbacks.py +++ b/matrix_gpt/bot/callbacks.py @@ -107,7 +107,7 @@ class Callbacks: 'content': thread_msg if not thread_msg.startswith(self.command_prefix) else thread_msg[len(self.command_prefix):].strip() }) # if len(thread_content) >= 2 and thread_content[0].body.startswith(self.command_prefix): # if thread_content[len(thread_content) - 2].sender == self.client.user - print(thread_content[0].event_id) + logger.info(thread_content[0].event_id) # TODO: process_chat() will set typing as false after generating. # TODO: If there is still another query in-progress that typing state will be overwritten by the one that just finished.