Repository navigation
fix: QQ 图片预览不再显示内部图片说明 - #124
Merged
Merged
Conversation
OneBot 发图时只发送 file 和 sub_type,不再把图片段里给模型看的 summary(插件图片说明、角色表情和本群表情说明)发给协议端。此前 QQ 会把这段说明当作消息预览文字,显示为 [插件 asoul ...] 一类内容。内部记录中的说明保持不变,聊天回看仍能看到 bot 发过什么图。 核对:test_next_platform_protocol 34 项,按 onebot、表情、插件等关键词挑选的 365 项测试,ruff 通过。真实 QQ 预览文字尚未确认。
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
OneBot 发图时只发送
file和sub_type,不再把图片段里给模型看的summary(插件图片说明、角色表情和本群表情说明)发给协议端。此前 QQ 会把这段说明当作消息预览文字,显示为[插件 asoul ...]一类内容。内部记录中的说明保持不变,聊天回看仍能看到 bot 发过什么图。核对:
test_next_platform_protocol34 项,按 onebot、表情、插件等关键词挑选的 365 项测试,ruff 通过。真实 QQ 预览文字尚未确认。