Repository navigation
fix: 让唤醒回合的提问主动推送企微 - #309
Merged
Merged
Conversation
现象 子代理结果唤醒已有企微绑定的会话时,桌面能看到决策卡,企微侧没有收到,回复选项也无法恢复原问题。 根因 流式引擎的事件出口没有调用企微镜像。直接调用镜像时,主动推送 tap 只把问题写进尾部缓冲,且待答登记未绑定原会话 ID。 修复 流式提问接入现有镜像。优先使用会话绑定,立即发送企微消息并把答复路由回原问题。保留暂停回合的待答登记,发送失败和超时仅撤销自身登记。 验证 复现旧版桌面一张卡、企微零次发送。真实唤醒回合和模拟企微回调验证一发一答,相关测试 152 项通过,Ruff 和 diff 检查通过。
|
Codecov Report❌ Patch coverage is 📢 Thoughts on this report? Let us know! |
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.
现象
子代理结果唤醒已有企微绑定的会话后,桌面出现
ask_user卡片,企微侧未收到提问。根因
emit/safe_send路径绕过了企微镜像入口。修复
user.question进入现有镜像管道。已有渠道 tap 时由该 tap 负责投递。验证
2后同一工具调用得到第二项,且不开新回合。git diff --check通过。