diff --git a/package-lock.json b/package-lock.json index 2b48f7f..3133822 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "0.0.0", "dependencies": { "@langchain/core": "^0.2.0", - "@langchain/openai": "^0.2.0", + "@langchain/openai": "^0.3.0", "langchain": "^0.2.0", "maplibre-gl": "^4.0.0", "react": "^18.2.0", @@ -1529,12 +1529,11 @@ } }, "node_modules/@langchain/openai": { - "version": "0.2.10", - "resolved": "https://registry.npmjs.org/@langchain/openai/-/openai-0.2.10.tgz", - "integrity": "sha512-ph5sYDAmhP55Fs3TW3+LXiqF+r/5zaaNO2tur9p2Otr8KWNDSgp5ezfPki1WWfuUJVoSQ+6HDYtr6n2V5N1Lew==", + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/@langchain/openai/-/openai-0.3.0.tgz", + "integrity": "sha512-yXrz5Qn3t9nq3NQAH2l4zZOI4ev2CFdLC5kvmi5SdW4bggRuM40SXTUAY3VRld4I5eocYfk82VbrlA+6dvN5EA==", "license": "MIT", "dependencies": { - "@langchain/core": ">=0.2.26 <0.3.0", "js-tiktoken": "^1.0.12", "openai": "^4.57.3", "zod": "^3.22.4", @@ -1542,6 +1541,9 @@ }, "engines": { "node": ">=18" + }, + "peerDependencies": { + "@langchain/core": ">=0.2.26 <0.4.0" } }, "node_modules/@langchain/textsplitters": { @@ -4804,6 +4806,22 @@ } } }, + "node_modules/langchain/node_modules/@langchain/openai": { + "version": "0.2.11", + "resolved": "https://registry.npmjs.org/@langchain/openai/-/openai-0.2.11.tgz", + "integrity": "sha512-Pu8+WfJojCgSf0bAsXb4AjqvcDyAWyoEB1AoCRNACgEnBWZuitz3hLwCo9I+6hAbeg3QJ37g82yKcmvKAg1feg==", + "license": "MIT", + "dependencies": { + "@langchain/core": ">=0.2.26 <0.3.0", + "js-tiktoken": "^1.0.12", + "openai": "^4.57.3", + "zod": "^3.22.4", + "zod-to-json-schema": "^3.22.3" + }, + "engines": { + "node": ">=18" + } + }, "node_modules/langchain/node_modules/uuid": { "version": "10.0.0", "resolved": "https://registry.npmjs.org/uuid/-/uuid-10.0.0.tgz", diff --git a/package.json b/package.json index 3884228..5aa81c6 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ }, "dependencies": { "@langchain/core": "^0.2.0", - "@langchain/openai": "^0.2.0", + "@langchain/openai": "^0.3.0", "langchain": "^0.2.0", "maplibre-gl": "^4.0.0", "react": "^18.2.0",