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.

Patch to fix Azure OpenAI (#2538)

Saket Aryanca1ee2d2d744
diff --git a/docs/changelog/overview.mdx b/docs/changelog/overview.mdx
index 2652a3578..2b5e051f6 100644
--- a/docs/changelog/overview.mdx
+++ b/docs/changelog/overview.mdx
@@ -127,6 +127,11 @@ mode: "wide"
<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">
**New Features:**
- **Azure OpenAI:** Added support for Azure OpenAI
diff --git a/mem0-ts/package.json b/mem0-ts/package.json
index 96fedd425..3727095f6 100644
--- a/mem0-ts/package.json
+++ b/mem0-ts/package.json
@@ -1,6 +1,6 @@
{
"name": "mem0ai",
- "version": "2.1.16",
+ "version": "2.1.16-patch.1",
"description": "The Memory Layer For Your AI Apps",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
@@ -92,7 +92,7 @@
},
"dependencies": {
"axios": "1.7.7",
- "openai": "4.28.0",
+ "openai": "^4.93.0",
"uuid": "9.0.1",
"zod": "^3.24.1"
},
diff --git a/mem0-ts/pnpm-lock.yaml b/mem0-ts/pnpm-lock.yaml
index a2e5b057c..768365120 100644
--- a/mem0-ts/pnpm-lock.yaml
+++ b/mem0-ts/pnpm-lock.yaml
@@ -44,8 +44,8 @@ importers:
specifier: ^0.5.14
version: 0.5.14
openai:
- specifier: 4.28.0
- version: 4.28.0([email protected])
+ specifier: ^4.93.0
pg:
specifier: 8.11.3
version: 8.11.3
@@ -3455,12 +3455,20 @@ packages:
}
engines: { node: ">=6" }
resolution:
{
- integrity: sha512-JM8fhcpmpGN0vrUwGquYIzdcEQHtFuom6sRCbbCM6CfzZXNuRk33G7KfeRAIfnaCxSpzrP5iHtwJzIm6biUZ2Q==,
+ integrity: sha512-2kONcISbThKLfm7T9paVzg+QCE1FOZtNMMUfXyXckUAoXRRS/mTP89JSDHPMp8uM5s0bz28RISbvQjArD6mgUQ==,
}
hasBin: true
+ peerDependencies:
+ ws: ^8.18.0
+ zod: ^3.23.8
+ peerDependenciesMeta:
+ ws:
+ optional: true
+ zod:
+ optional: true
resolution:
@@ -7019,17 +7027,18 @@ snapshots:
dependencies:
mimic-fn: 2.1.0
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([email protected])
- web-streams-polyfill: 3.3.3
+ optionalDependencies:
+ ws: 8.18.1
+ zod: 3.24.2
transitivePeerDependencies:
- encoding