From 78acb679eed7d777d8cbce9b7939a68b2d803ea7 Mon Sep 17 00:00:00 2001 From: taylor <=> Date: Sat, 12 Oct 2024 18:10:11 +0800 Subject: [PATCH] =?UTF-8?q?update:=20=E5=85=B3=E9=97=ADtyping?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 + .idea/maubot-llmplus.iml | 2 +- .idea/misc.xml | 2 +- maubot_llmplus/aibot.py | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 68bc17f..78b9c01 100644 --- a/.gitignore +++ b/.gitignore @@ -23,6 +23,7 @@ wheels/ share/python-wheels/ *.egg-info/ .installed.cfg +.idea/ *.egg MANIFEST diff --git a/.idea/maubot-llmplus.iml b/.idea/maubot-llmplus.iml index 74d515a..9d99f9e 100644 --- a/.idea/maubot-llmplus.iml +++ b/.idea/maubot-llmplus.iml @@ -4,7 +4,7 @@ - + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml index 90553d3..74d11cf 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -1,4 +1,4 @@ - + \ No newline at end of file diff --git a/maubot_llmplus/aibot.py b/maubot_llmplus/aibot.py index 7de4310..d0be60f 100644 --- a/maubot_llmplus/aibot.py +++ b/maubot_llmplus/aibot.py @@ -131,7 +131,7 @@ class AiBotPlugin(Plugin): # 打开typing提示 response = TextMessageEventContent(msgtype=MessageType.NOTICE, body=resp_content, format=Format.HTML, formatted_body=markdown.render(resp_content)) - await event.respond(response) + await event.respond(response, in_thread=self.config['reply_in_thread']) except Exception as e: pass