feat(ai-agent): delete/query IM sessions by platform - #4067
Open
Go0p wants to merge 1 commit into
Open
Conversation
选中飞书分组点删除全部会误删钉钉等全部 IM 会话:前端分组按 IMSourceMeta.Platform 做的,但删除只传 Source:['im'],后端 WHERE source='im' 删光所有 IM。配合后端新增的 Platform 过滤维度修复。 - type: DeleteAISessionFilter / QueryAISessionRequest.Filter 加 Platform - source.ts: 新增 getHistorySourceQueryPlatform (local→[], feishu/dingtalk→对应平台) - HistoryChat: 删除全部改为尊重分组(global+local→DeleteAll; global+IM平台→只删该平台; 业务页→source+platform); 按天删除补 platform - useSessionList: 列表查询带 Platform,按平台精确分页 - 测试: source.test.ts 加 platform 映射用例 (11/11 通过)
Contributor
PR CI 汇总状态:全部通过
由 pull_request test workflow 自动生成 |
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.
关联后端分支:yaklang/yaklang#4824
选中飞书分组点删除全部会误删钉钉等全部 IM 会话:前端分组按
IMSourceMeta.Platform 做的,但删除只传 Source:['im'],后端 WHERE source='im' 删光所有 IM。配合后端新增的 Platform 过滤维度修复。