ts-v3.1.5

lejianwen/rustdesk-serverts-v3.1.5Aug 5, 2026by whysosaket

AI Summary

Added support for agent-specific memory extraction instructions via a new `agentCustomInstructions` field in the Mem0 Node SDK.

Key Highlights

  • Added `agentCustomInstructions` to `PromptUpdatePayload`
  • Added `agentCustomInstructions` to `AddMemoryOptions`
  • Added `agentCustomInstructions` to `ProjectResponse`

New Features

  • Support for agent-scoped memory extraction instructions

Full Release Notes

**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))