You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(monitoring): enhance sender display name extraction and per-sender group session IDs - #3006
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
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
增强监控会话的发送者名称提取与群聊会话粒度:
MonitoringHelper._extract_sender_name多字段提取 (pkg/pipeline/monitoring_helper.py):统一在record_query_start、record_query_response、record_query_error和record_plugin_reply中提取显示名,依次支持group.name、sender.get_name()、sender.{member_name,nickname,remark,name,display_name,username,user_name,card}以及query.variables['sender_name']。monitoring_session_id):当platform == 'group'且sender_id非空时,使用group_{launcher_id}_{sender_id}作为monitoring_session_id。sessionsCSV 导出及BackendClient.ts中补齐user_name字段。检查清单 / Checklist
PR 作者完成 / For PR author