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.
好的,我来帮你准备一份符合 GitHub PR 格式的提交内容。
PR 提交内容
2. 同步日志记录与 launcher_id 逻辑
文件:
src/langbot/pkg/platform/botmgr.pymessage_session_id与实际处理的launcher_id保持一致launcher_idif not skip_pipeline:条件块内)修改前:
修改后:
更改前后对比截图 / Screenshots
修改前 / Before:
修改后 / After:
影响范围 / Impact
hasattr检测,不影响未实现get_launcher_id的其他适配器message_session_id与实际launcher_id完全一致测试建议 / Testing Suggestions
sys.user_id格式为group_chatid_useridsys.user_id仍为person_userid检查清单 / Checklist
PR 作者完成 / For PR author
请在方括号间写
x以打勾 / Please tick the box withx项目维护者完成 / For project maintainer
修改文件列表 / Modified Files
src/langbot/pkg/platform/sources/wecombot.py- 添加get_launcher_id方法src/langbot/pkg/platform/botmgr.py- 优化launcher_id构建逻辑和日志记录Commit Message 建议
get_launcher_id方法的逻辑这份 PR 模板已经符合项目的贡献指引要求,清晰地说明了问题、解决方案和影响范围。👍