fix(wecombot): forward platform_message_id to dify and add debug logs#2
Merged
bjhx2003 merged 1 commit intoApr 18, 2026
Merged
Conversation
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.
概述 / Overview
修复并增强了企业微信智能机器人对接 Dify 的调试能力:
platform_message_id,随 Difyinputs一起发送,便于在 Dify 中定位具体请求。MessageReceived和PersonNormalMessageReceived两个关键事件点增加精简 debug 日志,用于排查消息是否在进入 Dify 前被拦截。This PR improves debugging for WeCom intelligent bot integration with Dify:
platform_message_idinto Difyinputs.MessageReceivedandPersonNormalMessageReceivedto determine whether a message is intercepted before reaching Dify.更改前后对比截图 / Screenshots
修改前 / Before:
修改后 / After:
inputs中可获取platform_message_id。MessageReceived ... prevented=...PersonNormalMessageReceived ... prevented=...便于定位消息在哪个阶段被拦截。
检查清单 / Checklist
PR 作者完成 / For PR author
项目维护者完成 / For project maintainer