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.
This commit is contained in:
kartik-mem0
2026-06-26 16:06:00 +05:30
parent 7e056281e5
commit dc857e43ca
+4
View File
@@ -224,6 +224,10 @@ Note: `add()` and `delete()` methods remain unchanged. The `update()` method is
client.update(memory_id="mem_123", text="Updated content")
```
</CodeGroup>
<Note>
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.
</Note>
</Accordion>
</AccordionGroup>