This commit is contained in:
2025-02-18 23:43:58 +01:00
parent 60a3d903ae
commit e86fa6635a

View File

@@ -192,9 +192,7 @@ class MessagesProc:
if "lasqexx" in event.chatter_user_login: if "lasqexx" in event.chatter_user_login:
pass # Todo: Здароу pass # Todo: Здароу
if event.message.text.lower().startswith("!ai") or ( if event.message.text.lower().startswith("!ai"):
event.reply and event.reply.parent_message_body.lower().startswith("!ai")
):
try: try:
messages = cls.get_message_history_with_thread(event.message_id) messages = cls.get_message_history_with_thread(event.message_id)
completion = await get_completion(messages) completion = await get_completion(messages)