-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
[Bug] 分段回复导致QQ消息出现多余空行 #8300
Copy link
Copy link
Open
Labels
area:platformThe bug / feature is about IM platform adapter, such as QQ, Lark, Telegram, WebChat and so on.The bug / feature is about IM platform adapter, such as QQ, Lark, Telegram, WebChat and so on.
Metadata
Metadata
Assignees
Labels
area:platformThe bug / feature is about IM platform adapter, such as QQ, Lark, Telegram, WebChat and so on.The bug / feature is about IM platform adapter, such as QQ, Lark, Telegram, WebChat and so on.
Type
Fields
Give feedbackNo fields configured for issues without a type.
发生了什么
开启分段回复后,QQ消息每段之间出现大量多余空行。关闭分段回复后恢复正常。
原因
astrbot/core/pipeline/result_decorate/stage.py中,分段后的文本片段未 strip 就存入 chain:修复建议
版本信息