mirror of
https://github.com/RockChinQ/QChatGPT.git
synced 2024-11-15 19:22:24 +08:00
perf: 忽略空的 assistant content 消息 (#795)
This commit is contained in:
parent
e2eb0a84b0
commit
96832b6f7d
|
@ -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())
|
||||
|
||||
# ============= 触发插件事件 ===============
|
||||
|
|
Loading…
Reference in New Issue
Block a user