返回全部动态

Mem0 Python SDK v2.0.16 发布:新增搜索选项并修复多项缺陷

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

Mem0 Releases一手来源产品发布质量 76

AI 摘要

Mem0 发布了 Python SDK v2.0.16,新增了搜索选项(如 reference_date、latest_only、keyword_search)以与平台 API 同步。同时修复了多个 bug,包括元数据不再影响记忆的身份范围、Upstash 过滤键值验证、FastEmbed 返回类型修正、HuggingFace 嵌入 API 密钥传递、Ollama 导入错误处理等。这些修复提升了 SDK 的稳定性和安全性。

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

正文节选

**New Features:** - **Client:** Add `reference_date`, `latest_only`, and `keyword_search` to `SearchMemoryOptions`, and `latest_only` to `GetAllMemoryOptions`, keeping the Python client's typed options in sync with the Platform API and the CLIs ([#6696](https://github.com/mem0ai/mem0/pull/6696)) **Bug Fixes:** - **Core:** Stop `add()` metadata from setting a memory's identity scope. `_build_filters_and_metadata()` now strips `user_id`, `agent_id`, `run_id`, and `actor_id` from caller-suppli


发布时间:2026-08-05 02:51
抓取时间:2026-08-05 03:37
来源机构:Mem0
阅读原文github.com