perf: 忽略空的 assistant content 消息 (#795)

This commit is contained in:
RockChinQ 2024-05-29 21:00:48 +08:00
parent e2eb0a84b0
commit 96832b6f7d

View File

@ -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())
# ============= 触发插件事件 ===============