Added Async Mode Param (#2882)

This commit is contained in:
Saket Aryan
2025-05-30 21:36:41 +05:30
committed by GitHub
parent 855c322da6
commit fbee8d5c20
3 changed files with 7 additions and 1 deletions

View File

@@ -288,6 +288,11 @@ mode: "wide"
<Tab title="TypeScript"> <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"> <Update label="2025-05-30" description="v2.1.28">
**Improvements:** **Improvements:**
- **SDK:** Update Google SDK Peer Dependency Version. - **SDK:** Update Google SDK Peer Dependency Version.

View File

@@ -1,6 +1,6 @@
{ {
"name": "mem0ai", "name": "mem0ai",
"version": "2.1.28", "version": "2.1.29",
"description": "The Memory Layer For Your AI Apps", "description": "The Memory Layer For Your AI Apps",
"main": "./dist/index.js", "main": "./dist/index.js",
"module": "./dist/index.mjs", "module": "./dist/index.mjs",

View File

@@ -23,6 +23,7 @@ export interface MemoryOptions {
custom_instructions?: string; custom_instructions?: string;
timestamp?: number; timestamp?: number;
output_format?: string | OutputFormat; output_format?: string | OutputFormat;
async_mode?: boolean;
} }
export interface ProjectOptions { export interface ProjectOptions {