返回全部动态
Mem0 Python SDK v2.0.17 发布,新增 agent 自定义指令支持
原标题:Mem0 Python SDK (v2.0.17)
AI 摘要
Mem0 发布了 Python SDK v2.0.17,新增了在项目更新和添加记忆选项中设置 agent_custom_instructions 的功能,该指令仅适用于 agent 范围的记忆,并支持同步和异步接口。此更新允许更精细地控制记忆提取指令,提升记忆管理的灵活性。
以上摘要由 AI 生成,可能存在误差。事实请以原文为准。
正文节选
**New Features:** - **Client:** Add `agent_custom_instructions` to `project.update()`/`update_project()` (sync and async) and to the `ProjectUpdateOptions` and `AddMemoryOptions` typed models. It sets a second extraction instruction set that applies only to agent-scoped memories: an add passing `agent_id` without `user_id` uses it, one passing both splits by attribution, and while it is unset `custom_instructions` continues to apply to every memory ([#6809](https://github.com/mem0ai/mem0/pull/68
发布时间:2026-08-06 00:42
抓取时间:2026-08-06 20:59
来源机构:Mem0