Conversation
- reme_light_adapter.py: ReMeLightMemory(BaseMemory) 本地文件模式适配器 - 延迟初始化(asyncio.Lock 防并发)+ session tag 向量过滤 - 混合向量+BM25 检索(memory_search),失败回退关键词搜索 - 暴露原生能力:compact_history / summarize_session / pre_reasoning - config.py: 新增 reme_light 到 memory_backend Literal + 9 个配置字段 - factory.py: 注册 reme_light 后端,LLM key 三级回退 - 单元测试:45 个(辅助函数 + add/get_recent/search/cross_session/clear/count/close/原生能力) - E2E 测试:MemoryWriter.maybe_flush 触发验证(插 28 条假消息 + 1 条真实 LLM chat → count=30 → flush) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.
变更描述
变更类型
测试
make test通过make lint通过相关 Issue
Closes #