Agent 基础设施官方发布自动监测

Mem0 Python SDK (v2.2.1)

Mem0 Python SDK v2.2.1 fixes vector store insertion tracking, restores context-manager support, prevents AWS Bedrock failures with Claude reasoning models, and fixes filter and score calculations for Turbopuffer and S3 Vectors.

原始内容为英文;当前页面提供中文导航与来源说明,具体事实请以原文为准。

人类阅读

为什么值得关注

Mem0 Python SDK version 2.2.1 addresses multiple critical bug fixes across core modules, LLM integrations, and vector stores. In Core, Memory.add() and AsyncMemory.add() now only record and return memories actually accepted by the vector store, raising VectorStoreError if no memories can be inserted; context-manager protocols ( with / async with ) are also restored. For LLMs, the AWS Bedrock Anthropic integration handles Claude reasoning models by searching for the first text-bearing content block instead of indexing content 0 , preventing a KeyError when reasoningContent appears first. For Vector Stores, Turbopuffer now supports all standard filter operators ( eq , ne , gt , gte , lt , lte , in , nin ) and throws ValueError on unsupported operators, while its Euclidean squared distance scoring is fixed to 1 / (1 + distance) to avoid inverted negative scores. Similarly, S3 Vectors Euclidean distance mapping now computes as 1 / (1 + distance) to prevent scores from collapsing to zero.

Agent 解析

可执行摘要

Mem0 Python SDK v2.2.1 introduces error handling and score normalization fixes across vector stores and LLM providers: add() now raises VectorStoreError if all insertions fail, Turbopuffer adds full filter operator support and corrected Euclidean distance mapping, S3 Vectors normalizes Euclidean distance scores, and AWS Bedrock handles Anthropic reasoning content blocks properly.

Agent 实用度
77/100
可信度
96%
机器格式
JSON + Markdown
下一步

开发者应核对什么

  • Upgrade mem0 Python package to v2.2.1.
  • Verify error handling around Memory.add() and AsyncMemory.add() to catch VectorStoreError when vector store insertions fail.
  • Review Turbopuffer query filters to ensure compatibility, noting that previously ignored operators will now be applied and invalid ones will raise ValueError .
分类

标签与路由

memoryagentspersonalization
相关信号

继续阅读