Make V2 Add as Default (#2997)

This commit is contained in:
Saket Aryan
2025-06-20 16:56:42 +05:30
committed by GitHub
parent ecd4d91046
commit 2754f45387
4 changed files with 8 additions and 3 deletions

View File

@@ -229,7 +229,7 @@ export default class MemoryClient {
}
if (options.api_version) {
options.version = options.api_version.toString();
options.version = options.api_version.toString() || "v2";
}
const payload = this._preparePayload(messages, options);

View File

@@ -1,7 +1,7 @@
// @ts-nocheck
import type { TelemetryClient, TelemetryOptions } from "./telemetry.types";
let version = "2.1.26";
let version = "2.1.32";
// Safely check for process.env in different environments
let MEM0_TELEMETRY = true;