From 96832b6f7d8ed33fdf40615ce885f1c454ce24de Mon Sep 17 00:00:00 2001 From: RockChinQ <1010553892@qq.com> Date: Wed, 29 May 2024 21:00:48 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E5=BF=BD=E7=95=A5=E7=A9=BA=E7=9A=84=20?= =?UTF-8?q?assistant=20content=20=E6=B6=88=E6=81=AF=20(#795)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/pipeline/wrapper/wrapper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/pipeline/wrapper/wrapper.py b/pkg/pipeline/wrapper/wrapper.py index 3e52beb3..e6ce99aa 100644 --- a/pkg/pipeline/wrapper/wrapper.py +++ b/pkg/pipeline/wrapper/wrapper.py @@ -71,7 +71,7 @@ class ResponseWrapper(stage.PipelineStage): reply_text = '' - if result.content is not None: # 有内容 + if result.content: # 有内容 reply_text = str(result.get_content_mirai_message_chain()) # ============= 触发插件事件 ===============