Mem0 v2.0.17

v2.0.17

Mem0 Python SDK (v2.0.17)

Added 1
  • Add `agent_custom_instructions` to `project.update()` and `update_project()` methods (sync and async) and to the `ProjectUpdateOptions` and `AddMemoryOptions` typed models, enabling a separate extraction instruction set for agent-scoped memories
Changed 1
  • Memory extraction now splits by attribution when both `agent_id` and `user_id` are provided, and applies `agent_custom_instructions` when only `agent_id` is passed without `user_id`

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)
View original

Upgraded? How did it go?

Discussion