Skip to content

armgit / mem0

Public Imported from GitHub
0

The Memory Layer for AI Agents - Drop-in memory infrastructure for AI agents and apps. Context that persists. Built for production.

Added Async Mode Param (#2882)

Saket Aryanfbee8d5c20f1
diff --git a/docs/changelog.mdx b/docs/changelog.mdx
index 7e4a2d0bc..ebe9d49a5 100644
--- a/docs/changelog.mdx
+++ b/docs/changelog.mdx
@@ -288,6 +288,11 @@ mode: "wide"
<Tab title="TypeScript">
+<Update label="2025-05-30" description="v2.1.29">
+**Improvements:**
+- **Client:** Added Async Mode Param for `add` method.
+</Update>
+
<Update label="2025-05-30" description="v2.1.28">
**Improvements:**
- **SDK:** Update Google SDK Peer Dependency Version.
diff --git a/mem0-ts/package.json b/mem0-ts/package.json
index 5f9855762..d0e4e42dc 100644
--- a/mem0-ts/package.json
+++ b/mem0-ts/package.json
@@ -1,6 +1,6 @@
{
"name": "mem0ai",
- "version": "2.1.28",
+ "version": "2.1.29",
"description": "The Memory Layer For Your AI Apps",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
diff --git a/mem0-ts/src/client/mem0.types.ts b/mem0-ts/src/client/mem0.types.ts
index 88d4dd975..7b448cfdf 100644
--- a/mem0-ts/src/client/mem0.types.ts
+++ b/mem0-ts/src/client/mem0.types.ts
@@ -23,6 +23,7 @@ export interface MemoryOptions {
custom_instructions?: string;
timestamp?: number;
output_format?: string | OutputFormat;
+ async_mode?: boolean;
}
export interface ProjectOptions {