-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Feature/完善微信公众号对话机器人服务 #3159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The head ref may contain hidden characters: "feature/\u5B8C\u5584\u5FAE\u4FE1\u516C\u4F17\u53F7\u5BF9\u8BDD\u673A\u5668\u4EBA\u670D\u52A1"
Feature/完善微信公众号对话机器人服务 #3159
Conversation
Work 分配新版本号:v3.27.0 JeffreySu#3137
升级聊天 AI Sample,优化上下文储存机制
升级聊天 AI Sample,优化上下文储存机制
更新 Sample,添加 C# Language 设定
[2025-07-04] v2025.7.14 更新微信支付、小程序;优化 Sample;完善 AI 对话示例
- 在ChatStore类中添加UseMarkdown属性,默认为true - 在CustomMessageHandler_AI中添加dm/md命令支持 - 输入'dm'可关闭Markdown格式输出,使用纯文本回复 - 输入'md'可恢复Markdown格式输出 - 根据UseMarkdown状态为AI对话添加相应的格式前缀 - 更新欢迎消息,提示用户可用的命令
var responseMessage = base.CreateResponseMessage<ResponseMessageText>(); | ||
responseMessage.Content = "已切换到纯文字对话模式!AI 将用纯文字回复"; | ||
return responseMessage; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bug: Command Unreachable Due to Conflicting Conditions
The "T" command, intended to switch from multimodal to text-only conversation, is unreachable. The code block containing the "T" command is nested within a condition that requires chatStore.MultimodelType
to be SimpleChat
, while the "T" command's own condition requires chatStore.MultimodelType
to be ChatAndImage
. These mutually exclusive conditions prevent the command from ever executing.
feat1.
为微信公众号AI对话机器人添加从多模态对话回到文字对话的功能,用户可以输入“t"从多模态切换回纯文字输出
feat2
为微信公众号AI对话机器人添加Markdown格式输出控制功能