返回全部动态

Mem0 Node SDK v3.1.5 发布,新增代理自定义指令

原标题:Mem0 Node SDK (v3.1.5)

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

AI 摘要

Mem0 发布了 Node SDK v3.1.5,新增了 `agentCustomInstructions` 功能,允许为代理作用域的记忆设置第二套提取指令。该功能支持仅传递 agentId 时使用新指令,同时传递 userId 时按归属拆分,未设置时回退到原有 customInstructions。此更新增强了记忆管理的灵活性和定制性。

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

正文节选

**New Features:** - **Client:** Add `agentCustomInstructions` to `PromptUpdatePayload`, `AddMemoryOptions`, and `ProjectResponse`. It sets a second extraction instruction set that applies only to agent-scoped memories: an add passing `agentId` without `userId` uses it, one passing both splits by attribution, and while it is unset `customInstructions` continues to apply to every memory ([#6809](https://github.com/mem0ai/mem0/pull/6809))


发布时间:2026-08-06 00:42
抓取时间:2026-08-06 20:59
来源机构:Mem0
阅读原文github.com