From dc857e43ca6a141bfface7f5a6334c0519b96db6 Mon Sep 17 00:00:00 2001 From: kartik-mem0 Date: Fri, 26 Jun 2026 16:06:00 +0530 Subject: [PATCH] docs(migration): clarify data= vs text= parameter divergence in update() Add a Note inside the Update Memory accordion explaining that OSS Memory.update() takes data= while Platform MemoryClient.update() (Python and JS/TS) takes text=, so migrating users know to rename the keyword argument. Addresses reviewer comment on oss-to-platform.mdx:224/391. --- docs/migration/oss-to-platform.mdx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/migration/oss-to-platform.mdx b/docs/migration/oss-to-platform.mdx index d139d4094..b70ce432f 100644 --- a/docs/migration/oss-to-platform.mdx +++ b/docs/migration/oss-to-platform.mdx @@ -224,6 +224,10 @@ Note: `add()` and `delete()` methods remain unchanged. The `update()` method is client.update(memory_id="mem_123", text="Updated content") ``` + + + The parameter name differs between SDKs: OSS `Memory.update()` takes `data=`, while the Platform `MemoryClient.update()` (Python and JS/TS) takes `text=`. When migrating, rename this keyword argument. +