Patch to fix Azure OpenAI (#2538)

This commit is contained in:
Saket Aryan
2025-04-11 21:28:38 +05:30
committed by GitHub
parent 05f9607282
commit ca1ee2d2d7
3 changed files with 23 additions and 9 deletions

View File

@@ -127,6 +127,11 @@ mode: "wide"
<Tab title="TypeScript"> <Tab title="TypeScript">
<Update label="2025-04-11" description="v2.1.16-patch.1">
**Bug Fixes:**
- **Azure OpenAI:** Fixed issues with Azure OpenAI
</Update>
<Update label="2025-04-11" description="v2.1.16"> <Update label="2025-04-11" description="v2.1.16">
**New Features:** **New Features:**
- **Azure OpenAI:** Added support for Azure OpenAI - **Azure OpenAI:** Added support for Azure OpenAI

View File

@@ -1,6 +1,6 @@
{ {
"name": "mem0ai", "name": "mem0ai",
"version": "2.1.16", "version": "2.1.16-patch.1",
"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",
@@ -92,7 +92,7 @@
}, },
"dependencies": { "dependencies": {
"axios": "1.7.7", "axios": "1.7.7",
"openai": "4.28.0", "openai": "^4.93.0",
"uuid": "9.0.1", "uuid": "9.0.1",
"zod": "^3.24.1" "zod": "^3.24.1"
}, },

23
mem0-ts/pnpm-lock.yaml generated
View File

@@ -44,8 +44,8 @@ importers:
specifier: ^0.5.14 specifier: ^0.5.14
version: 0.5.14 version: 0.5.14
openai: openai:
specifier: 4.28.0 specifier: ^4.93.0
version: 4.28.0(encoding@0.1.13) version: 4.93.0(encoding@0.1.13)(ws@8.18.1)(zod@3.24.2)
pg: pg:
specifier: 8.11.3 specifier: 8.11.3
version: 8.11.3 version: 8.11.3
@@ -3455,12 +3455,20 @@ packages:
} }
engines: { node: ">=6" } engines: { node: ">=6" }
openai@4.28.0: openai@4.93.0:
resolution: resolution:
{ {
integrity: sha512-JM8fhcpmpGN0vrUwGquYIzdcEQHtFuom6sRCbbCM6CfzZXNuRk33G7KfeRAIfnaCxSpzrP5iHtwJzIm6biUZ2Q==, integrity: sha512-2kONcISbThKLfm7T9paVzg+QCE1FOZtNMMUfXyXckUAoXRRS/mTP89JSDHPMp8uM5s0bz28RISbvQjArD6mgUQ==,
} }
hasBin: true hasBin: true
peerDependencies:
ws: ^8.18.0
zod: ^3.23.8
peerDependenciesMeta:
ws:
optional: true
zod:
optional: true
p-limit@2.3.0: p-limit@2.3.0:
resolution: resolution:
@@ -7019,17 +7027,18 @@ snapshots:
dependencies: dependencies:
mimic-fn: 2.1.0 mimic-fn: 2.1.0
openai@4.28.0(encoding@0.1.13): openai@4.93.0(encoding@0.1.13)(ws@8.18.1)(zod@3.24.2):
dependencies: dependencies:
"@types/node": 18.19.76 "@types/node": 18.19.76
"@types/node-fetch": 2.6.12 "@types/node-fetch": 2.6.12
abort-controller: 3.0.0 abort-controller: 3.0.0
agentkeepalive: 4.6.0 agentkeepalive: 4.6.0
digest-fetch: 1.3.0
form-data-encoder: 1.7.2 form-data-encoder: 1.7.2
formdata-node: 4.4.1 formdata-node: 4.4.1
node-fetch: 2.7.0(encoding@0.1.13) node-fetch: 2.7.0(encoding@0.1.13)
web-streams-polyfill: 3.3.3 optionalDependencies:
ws: 8.18.1
zod: 3.24.2
transitivePeerDependencies: transitivePeerDependencies:
- encoding - encoding