Bumped Anthropic SDK Version (#2598)
This commit is contained in:
@@ -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` method
|
||||
|
||||
@@ -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",
|
||||
|
||||
12
mem0-ts/pnpm-lock.yaml
generated
12
mem0-ts/pnpm-lock.yaml
generated
@@ -8,8 +8,8 @@ importers:
|
||||
.:
|
||||
dependencies:
|
||||
"@anthropic-ai/sdk":
|
||||
specifier: 0.18.0
|
||||
version: 0.18.0(encoding@0.1.13)
|
||||
specifier: 0.40.1
|
||||
version: 0.40.1(encoding@0.1.13)
|
||||
"@google/genai":
|
||||
specifier: ^0.7.0
|
||||
version: 0.7.0(encoding@0.1.13)
|
||||
@@ -110,10 +110,10 @@ packages:
|
||||
}
|
||||
engines: { node: ">=6.0.0" }
|
||||
|
||||
"@anthropic-ai/sdk@0.18.0":
|
||||
"@anthropic-ai/sdk@0.40.1":
|
||||
resolution:
|
||||
{
|
||||
integrity: sha512-3XsWEn/4nPGRd4AdSguugbSDFy6Z2AWTNOeI3iK+aV22+w23+vY9CEb3Hiy0kvKIQuxSmZz/+5WKC8nPWy8gVg==,
|
||||
integrity: sha512-DJMWm8lTEM9Lk/MSFL+V+ugF7jKOn0M2Ujvb5fN8r2nY14aHbGPZ1k6sgjL+tpJ3VuOGJNG+4R83jEpOuYPv8w==,
|
||||
}
|
||||
|
||||
"@babel/code-frame@7.26.2":
|
||||
@@ -4875,17 +4875,15 @@ snapshots:
|
||||
"@jridgewell/gen-mapping": 0.3.8
|
||||
"@jridgewell/trace-mapping": 0.3.25
|
||||
|
||||
"@anthropic-ai/sdk@0.18.0(encoding@0.1.13)":
|
||||
"@anthropic-ai/sdk@0.40.1(encoding@0.1.13)":
|
||||
dependencies:
|
||||
"@types/node": 18.19.76
|
||||
"@types/node-fetch": 2.6.12
|
||||
abort-controller: 3.0.0
|
||||
agentkeepalive: 4.6.0
|
||||
digest-fetch: 1.3.0
|
||||
form-data-encoder: 1.7.2
|
||||
formdata-node: 4.4.1
|
||||
node-fetch: 2.7.0(encoding@0.1.13)
|
||||
web-streams-polyfill: 3.3.3
|
||||
transitivePeerDependencies:
|
||||
- encoding
|
||||
|
||||
|
||||
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user