返回全部动态

Mem0 Python SDK v2.2.1 修复核心与向量存储缺陷

原标题:Mem0 Python SDK (v2.2.1)

Mem0 Releases一手来源开源质量 68

AI 摘要

Mem0 发布 Python SDK v2.2.1,集中修复核心、LLM 与向量存储三方面的缺陷。核心层面,add() 不再把向量库拒绝的记录当作成功写入,全部失败时抛出 VectorStoreError,并恢复 Memory/AsyncMemory 的上下文管理器协议。LLM 层面修复 AWS Bedrock Anthropic 路径读取 Claude 推理模型内容块时的 KeyError;向量存储层面修复 Turbopuffer 过滤操作符被静默丢弃、Turbopuffer 与 S3 Vectors 搜索评分未按距离度量换算导致排序错误的问题。

以上摘要由 AI 生成,可能存在误差。事实请以原文为准。

正文节选

**Bug Fixes:** - **Core:** `add()` (`Memory` and `AsyncMemory`) no longer reports records the vector store rejected as successful `ADD` events. Only records that were actually inserted are written to history, entity-linked, and returned. If none of the extracted memories could be inserted, `add()` now raises `VectorStoreError` instead of returning memories that were never stored ([#7066](https://github.com/mem0ai/mem0/pull/7066)) - **Core:** Restore the context-manager protocol on `Memory` (`w


发布时间:2026-09-26 01:35
抓取时间:2026-09-26 01:49
来源机构:Mem0
阅读原文github.com