The Memory Layer for AI Agents - Drop-in memory infrastructure for AI agents and apps. Context that persists. Built for production.
Python agentic-memoryagentic-memory-systemagentsaiai-agentschatgptgenaillmlong-term-memorymemorymemory-managementpythonragstate-management
Bumped Anthropic SDK Version (#2598)
Saket Aryan42c98e571732
diff --git a/docs/changelog.mdx b/docs/changelog.mdxindex 209ac2a1c..65e5a5dda 100644--- a/docs/changelog.mdx+++ b/docs/changelog.mdx@@ -209,6 +209,11 @@ mode: "wide"<Tab title="TypeScript">+<Update label="2025-05-01" description="v2.1.21">+**Improvements:**+- **OSS SDK:** Bumped version of `@anthropic-ai/sdk` to `0.40.1`+</Update>+<Update label="2025-04-28" description="v2.1.20">**Improvements:**- **Client:** Fixed `organizationId` and `projectId` being asssigned to default in `ping` methoddiff --git a/mem0-ts/package.json b/mem0-ts/package.jsonindex b7c0aa003..3a2647cde 100644--- a/mem0-ts/package.json+++ b/mem0-ts/package.json@@ -1,6 +1,6 @@{"name": "mem0ai",- "version": "2.1.20",+ "version": "2.1.21","description": "The Memory Layer For Your AI Apps","main": "./dist/index.js","module": "./dist/index.mjs",@@ -97,7 +97,7 @@"zod": "^3.24.1"},"peerDependencies": {- "@anthropic-ai/sdk": "0.18.0",+ "@anthropic-ai/sdk": "^0.40.1","@google/genai": "^0.7.0","@mistralai/mistralai": "^1.5.2","@qdrant/js-client-rest": "1.13.0",diff --git a/mem0-ts/pnpm-lock.yaml b/mem0-ts/pnpm-lock.yamlindex f9012f084..1212314a3 100644--- a/mem0-ts/pnpm-lock.yaml+++ b/mem0-ts/pnpm-lock.yaml@@ -8,8 +8,8 @@ importers:.:dependencies:"@anthropic-ai/sdk":- specifier: 0.18.0- version: 0.18.0([email protected])+ specifier: 0.40.1+ version: 0.40.1([email protected])"@google/genai":specifier: ^0.7.0version: 0.7.0([email protected])@@ -110,10 +110,10 @@ packages:}engines: { node: ">=6.0.0" }- "@anthropic-ai/[email protected]":+ "@anthropic-ai/[email protected]":resolution:{- integrity: sha512-3XsWEn/4nPGRd4AdSguugbSDFy6Z2AWTNOeI3iK+aV22+w23+vY9CEb3Hiy0kvKIQuxSmZz/+5WKC8nPWy8gVg==,+ integrity: sha512-DJMWm8lTEM9Lk/MSFL+V+ugF7jKOn0M2Ujvb5fN8r2nY14aHbGPZ1k6sgjL+tpJ3VuOGJNG+4R83jEpOuYPv8w==,}"@babel/[email protected]":@@ -4875,17 +4875,15 @@ snapshots:"@jridgewell/gen-mapping": 0.3.8"@jridgewell/trace-mapping": 0.3.25- "@anthropic-ai/[email protected]([email protected])":+ "@anthropic-ai/[email protected]([email protected])":dependencies:"@types/node": 18.19.76"@types/node-fetch": 2.6.12abort-controller: 3.0.0agentkeepalive: 4.6.0- digest-fetch: 1.3.0form-data-encoder: 1.7.2formdata-node: 4.4.1node-fetch: 2.7.0([email protected])- web-streams-polyfill: 3.3.3transitivePeerDependencies:- encodingdiff --git a/mem0-ts/src/oss/src/vector_stores/pgvector.ts b/mem0-ts/src/oss/src/vector_stores/pgvector.tsindex 4dd988934..9c1b00343 100644--- a/mem0-ts/src/oss/src/vector_stores/pgvector.ts+++ b/mem0-ts/src/oss/src/vector_stores/pgvector.ts@@ -22,7 +22,7 @@ export class PGVector implements VectorStore {private config: PGVectorConfig;constructor(config: PGVectorConfig) {- this.collectionName = config.collectionName;+ this.collectionName = config.collectionName || "memories";this.useDiskann = config.diskann || false;this.useHnsw = config.hnsw || false;this.dbName = config.dbname || "vector_store";