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.