fix(memory): prevent duplicate records across pagination - #87
fix(memory): prevent duplicate records across pagination#87openjiuwen-sync-bot[bot] wants to merge 3 commits into
Conversation
|
LZF seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
|
head_sha: 变更摘要此 PR 修复了记忆分页查询中跨页出现重复记录的问题。根本原因在于原有的分页逻辑每次仅获取最新 N 条记录并将其反转排序,导致不同页的前缀集合重叠,已返回的记录在后续页面中再次出现。修复方案改为先获取完整的确定性快照(全量记忆),再对该快照统一排序和分页,同时在排序键中引入 主要改动
|
|
head_sha: 代码审查✅ 未发现问题 |
|
head_sha: 在分页修复版本上重新执行原始 |
…lzf2025/agent-memory_5353.git into 'develop' # Conflicts: # conflict pyproject.toml
Paired: GitHub #87 ↔ GitCode !181
What type of PR is this?
/kind
Self-checklist:(请自检,在[ ]内打上x,我们将检视你的完成情况,否则会导致pr无法合入)