Skip to content

fix: QQ 图片预览不再显示内部图片说明 - #124

Merged
LEN5010 merged 1 commit into
masterfrom
fix/qq-image-preview
Nov 13, 2026
Merged

LEN5010 merged 1 commit into
masterfrom
fix/qq-image-preview

Conversation

@LEN5010

@LEN5010 LEN5010 commented Nov 13, 2026

Copy link
Copy Markdown
Collaborator

OneBot 发图时只发送 file 和 sub_type,不再把图片段里给模型看的 summary(插件图片说明、角色表情和本群表情说明)发给协议端。此前 QQ 会把这段说明当作消息预览文字,显示为 [插件 asoul ...] 一类内容。内部记录中的说明保持不变,聊天回看仍能看到 bot 发过什么图。

核对:test_next_platform_protocol 34 项,按 onebot、表情、插件等关键词挑选的 365 项测试,ruff 通过。真实 QQ 预览文字尚未确认。

OneBot 发图时只发送 file 和 sub_type,不再把图片段里给模型看的 summary(插件图片说明、角色表情和本群表情说明)发给协议端。此前 QQ 会把这段说明当作消息预览文字,显示为 [插件 asoul ...] 一类内容。内部记录中的说明保持不变,聊天回看仍能看到 bot 发过什么图。

核对:test_next_platform_protocol 34 项,按 onebot、表情、插件等关键词挑选的 365 项测试,ruff 通过。真实 QQ 预览文字尚未确认。
@LEN5010
LEN5010 merged commit 376e58f into master Nov 13, 2026
15 checks passed
@LEN5010
LEN5010 deleted the fix/qq-image-preview branch November 13, 2026 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant