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 Custom Categories in Mem0-TS (#2370)

Saket Aryanfaf811ee2d3d
diff --git a/mem0-ts/package.json b/mem0-ts/package.json
index 5340f2043..bed8587a8 100644
--- a/mem0-ts/package.json
+++ b/mem0-ts/package.json
@@ -1,6 +1,6 @@
{
"name": "mem0ai",
- "version": "2.1.1",
+ "version": "2.1.3",
"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 8fa4b71ef..9b2e62114 100644
--- a/mem0-ts/src/client/mem0.types.ts
+++ b/mem0-ts/src/client/mem0.types.ts
@@ -17,6 +17,7 @@ export interface MemoryOptions {
enable_graph?: boolean;
start_date?: string;
end_date?: string;
+ custom_categories?: custom_categories[];
}
export interface ProjectOptions {
diff --git a/mem0-ts/src/client/telemetry.browser.ts b/mem0-ts/src/client/telemetry.browser.ts
index 107e7642e..a9e26a612 100644
--- a/mem0-ts/src/client/telemetry.browser.ts
+++ b/mem0-ts/src/client/telemetry.browser.ts
@@ -4,7 +4,7 @@ import type { TelemetryClient } from "./telemetry.types";
let version = "1.0.20";
-const MEM0_TELEMETRY = process.env.MEM0_TELEMETRY !== "false";
+const MEM0_TELEMETRY = "false";
const POSTHOG_API_KEY = "phc_hgJkUVJFYtmaJqrvf6CYN67TIQ8yhXAkWzUn9AMU4yX";
const POSTHOG_HOST = "https://us.i.posthog.com";