From cd9c57890702aa3c02b101569d6edb9708752478 Mon Sep 17 00:00:00 2001 From: Danny Avila Date: Thu, 17 Jul 2025 17:54:25 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=A6=20chore:=20bump=20`@librechat/agen?= =?UTF-8?q?ts`=20to=20to=20v2.4.62=20(#8524)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/package.json | 3 +- package-lock.json | 118 +++++++------------------------------- package.json | 1 + packages/api/package.json | 3 +- 4 files changed, 27 insertions(+), 98 deletions(-) diff --git a/api/package.json b/api/package.json index d0c8764f9..7a909ec13 100644 --- a/api/package.json +++ b/api/package.json @@ -47,8 +47,9 @@ "@langchain/core": "^0.3.60", "@langchain/google-genai": "^0.2.13", "@langchain/google-vertexai": "^0.2.13", + "@langchain/openai": "^0.5.18", "@langchain/textsplitters": "^0.1.0", - "@librechat/agents": "^2.4.61", + "@librechat/agents": "^2.4.62", "@librechat/api": "*", "@librechat/data-schemas": "*", "@node-saml/passport-saml": "^5.0.0", diff --git a/package-lock.json b/package-lock.json index fffb3e431..eef2a2d07 100644 --- a/package-lock.json +++ b/package-lock.json @@ -63,8 +63,9 @@ "@langchain/core": "^0.3.60", "@langchain/google-genai": "^0.2.13", "@langchain/google-vertexai": "^0.2.13", + "@langchain/openai": "^0.5.18", "@langchain/textsplitters": "^0.1.0", - "@librechat/agents": "^2.4.61", + "@librechat/agents": "^2.4.62", "@librechat/api": "*", "@librechat/data-schemas": "*", "@node-saml/passport-saml": "^5.0.0", @@ -1313,44 +1314,6 @@ } } }, - "api/node_modules/@langchain/openai": { - "version": "0.5.18", - "resolved": "https://registry.npmjs.org/@langchain/openai/-/openai-0.5.18.tgz", - "integrity": "sha512-CX1kOTbT5xVFNdtLjnM0GIYNf+P7oMSu+dGCFxxWRa3dZwWiuyuBXCm+dToUGxDLnsHuV1bKBtIzrY1mLq/A1Q==", - "license": "MIT", - "dependencies": { - "js-tiktoken": "^1.0.12", - "openai": "^5.3.0", - "zod": "^3.25.32" - }, - "engines": { - "node": ">=18" - }, - "peerDependencies": { - "@langchain/core": ">=0.3.58 <0.4.0" - } - }, - "api/node_modules/@langchain/openai/node_modules/openai": { - "version": "5.9.0", - "resolved": "https://registry.npmjs.org/openai/-/openai-5.9.0.tgz", - "integrity": "sha512-cmLC0pfqLLhBGxE4aZPyRPjydgYCncppV2ClQkKmW79hNjCvmzkfhz8rN5/YVDmjVQlFV+UsF1JIuNjNgeagyQ==", - "license": "Apache-2.0", - "bin": { - "openai": "bin/cli" - }, - "peerDependencies": { - "ws": "^8.18.0", - "zod": "^3.23.8" - }, - "peerDependenciesMeta": { - "ws": { - "optional": true - }, - "zod": { - "optional": true - } - } - }, "api/node_modules/@smithy/abort-controller": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/@smithy/abort-controller/-/abort-controller-4.0.2.tgz", @@ -19088,13 +19051,13 @@ } }, "node_modules/@langchain/langgraph": { - "version": "0.3.7", - "resolved": "https://registry.npmjs.org/@langchain/langgraph/-/langgraph-0.3.7.tgz", - "integrity": "sha512-Cc0VUtuwFziCNqTNvD1QUNpMzhe9r8tTDIxFgpCwbF8oTNXxZ1tcd/iY9wr7gV5WhZm8DHEpZf3h4z3gFNeNMA==", + "version": "0.3.10", + "resolved": "https://registry.npmjs.org/@langchain/langgraph/-/langgraph-0.3.10.tgz", + "integrity": "sha512-EVvvnsqmcNLTgKtxdVGDdWt7UxT6a+mVuo42VLDs2U62kejSnT7Jr4y+x1cEcijIRx15xGyyBiMBuWYiAL6drQ==", "license": "MIT", "dependencies": { "@langchain/langgraph-checkpoint": "~0.0.18", - "@langchain/langgraph-sdk": "~0.0.90", + "@langchain/langgraph-sdk": "~0.0.98", "uuid": "^10.0.0", "zod": "^3.25.32" }, @@ -19140,9 +19103,9 @@ } }, "node_modules/@langchain/langgraph-sdk": { - "version": "0.0.92", - "resolved": "https://registry.npmjs.org/@langchain/langgraph-sdk/-/langgraph-sdk-0.0.92.tgz", - "integrity": "sha512-YL3uPo4At0q96Jk1v7uPctpf/NuKYlbHuQzuS03lQDvvzkLNBmw6ZRKr8SFmgZwmiHz2CNMfBP21kmb9aq/9Ug==", + "version": "0.0.98", + "resolved": "https://registry.npmjs.org/@langchain/langgraph-sdk/-/langgraph-sdk-0.0.98.tgz", + "integrity": "sha512-6S6mFc9e5V18PNrBQBRrzgl6VXG7pZ5E9axT7nzSQMmlbp7pxZwdOeFez94d76lo/nqSbSB2Ig7a/P4eafVcNw==", "license": "MIT", "dependencies": { "@types/json-schema": "^7.0.15", @@ -19237,9 +19200,9 @@ } }, "node_modules/@langchain/openai": { - "version": "0.5.16", - "resolved": "https://registry.npmjs.org/@langchain/openai/-/openai-0.5.16.tgz", - "integrity": "sha512-TqzPE3PM0bMkQi53qs8vCFkwaEp3VgwGw+s1e8Nas5ICCZZtc2XqcDPz4hf2gpo1k7/AZd6HuPlAsDy6wye9Qw==", + "version": "0.5.18", + "resolved": "https://registry.npmjs.org/@langchain/openai/-/openai-0.5.18.tgz", + "integrity": "sha512-CX1kOTbT5xVFNdtLjnM0GIYNf+P7oMSu+dGCFxxWRa3dZwWiuyuBXCm+dToUGxDLnsHuV1bKBtIzrY1mLq/A1Q==", "license": "MIT", "dependencies": { "js-tiktoken": "^1.0.12", @@ -19385,9 +19348,9 @@ } }, "node_modules/@librechat/agents": { - "version": "2.4.61", - "resolved": "https://registry.npmjs.org/@librechat/agents/-/agents-2.4.61.tgz", - "integrity": "sha512-/05fUO+sYh4Xpj9k6UNwsKzV8UG25t3NbTCpvQdr1NWam56M2p1DWp4uqgqVZfJP2Lh4Dyprr4Erny3RaNhbBQ==", + "version": "2.4.62", + "resolved": "https://registry.npmjs.org/@librechat/agents/-/agents-2.4.62.tgz", + "integrity": "sha512-wy1/bkgce/tuNnGnVKncIMZJ1XYwzfPKdK9hf2xJzwTQ39YLONclsVyqkCAxCK++0kk0IlQQQUXRC8G8Jq5Dag==", "license": "MIT", "dependencies": { "@langchain/anthropic": "^0.3.24", @@ -19400,7 +19363,7 @@ "@langchain/langgraph": "^0.3.4", "@langchain/mistralai": "^0.2.1", "@langchain/ollama": "^0.2.3", - "@langchain/openai": "^0.5.18", + "@langchain/openai": "0.5.18", "@langchain/xai": "^0.0.3", "cheerio": "^1.0.0", "dotenv": "^16.4.7", @@ -19412,12 +19375,12 @@ } }, "node_modules/@librechat/agents/node_modules/@langchain/community": { - "version": "0.3.48", - "resolved": "https://registry.npmjs.org/@langchain/community/-/community-0.3.48.tgz", - "integrity": "sha512-0KceBKSx34lL5cnbKybWIMQAFTgkZJMOzcZ1YdcagIwgoDa5a4MsJdtTABxaY0gu+87Uo3KqMj+GXx2wQqnZWA==", + "version": "0.3.49", + "resolved": "https://registry.npmjs.org/@langchain/community/-/community-0.3.49.tgz", + "integrity": "sha512-1AAo9mvr1FmqYHUpXhYI8P4NBPC4t9TfUAuvefEImrtb3gZ60fPelVu17ljWlKJcHC1hPSHYpPJWm0Yx7yRvrw==", "license": "MIT", "dependencies": { - "@langchain/openai": ">=0.2.0 <0.6.0", + "@langchain/openai": ">=0.2.0 <0.7.0", "@langchain/weaviate": "^0.2.0", "binary-extensions": "^2.2.0", "expr-eval": "^2.0.2", @@ -19936,23 +19899,6 @@ } } }, - "node_modules/@librechat/agents/node_modules/@langchain/openai": { - "version": "0.5.18", - "resolved": "https://registry.npmjs.org/@langchain/openai/-/openai-0.5.18.tgz", - "integrity": "sha512-CX1kOTbT5xVFNdtLjnM0GIYNf+P7oMSu+dGCFxxWRa3dZwWiuyuBXCm+dToUGxDLnsHuV1bKBtIzrY1mLq/A1Q==", - "license": "MIT", - "dependencies": { - "js-tiktoken": "^1.0.12", - "openai": "^5.3.0", - "zod": "^3.25.32" - }, - "engines": { - "node": ">=18" - }, - "peerDependencies": { - "@langchain/core": ">=0.3.58 <0.4.0" - } - }, "node_modules/@librechat/agents/node_modules/agent-base": { "version": "7.1.4", "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.4.tgz", @@ -19975,27 +19921,6 @@ "node": ">= 14" } }, - "node_modules/@librechat/agents/node_modules/openai": { - "version": "5.9.0", - "resolved": "https://registry.npmjs.org/openai/-/openai-5.9.0.tgz", - "integrity": "sha512-cmLC0pfqLLhBGxE4aZPyRPjydgYCncppV2ClQkKmW79hNjCvmzkfhz8rN5/YVDmjVQlFV+UsF1JIuNjNgeagyQ==", - "license": "Apache-2.0", - "bin": { - "openai": "bin/cli" - }, - "peerDependencies": { - "ws": "^8.18.0", - "zod": "^3.23.8" - }, - "peerDependenciesMeta": { - "ws": { - "optional": true - }, - "zod": { - "optional": true - } - } - }, "node_modules/@librechat/agents/node_modules/uuid": { "version": "10.0.0", "resolved": "https://registry.npmjs.org/uuid/-/uuid-10.0.0.tgz", @@ -46548,6 +46473,7 @@ "@babel/preset-env": "^7.21.5", "@babel/preset-react": "^7.18.6", "@babel/preset-typescript": "^7.21.0", + "@langchain/core": "^0.3.62", "@rollup/plugin-alias": "^5.1.0", "@rollup/plugin-commonjs": "^25.0.2", "@rollup/plugin-json": "^6.1.0", @@ -46574,7 +46500,7 @@ "typescript": "^5.0.4" }, "peerDependencies": { - "@librechat/agents": "^2.4.61", + "@librechat/agents": "^2.4.62", "@librechat/data-schemas": "*", "@modelcontextprotocol/sdk": "^1.13.3", "axios": "^1.8.2", diff --git a/package.json b/package.json index 247606753..2dda84820 100644 --- a/package.json +++ b/package.json @@ -115,6 +115,7 @@ "typescript-eslint": "^8.24.0" }, "overrides": { + "@langchain/openai": "0.5.18", "axios": "1.8.2", "elliptic": "^6.6.1", "mdast-util-gfm-autolink-literal": "2.0.0", diff --git a/packages/api/package.json b/packages/api/package.json index 891de4c9c..4298342ab 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -40,6 +40,7 @@ "@babel/preset-env": "^7.21.5", "@babel/preset-react": "^7.18.6", "@babel/preset-typescript": "^7.21.0", + "@langchain/core": "^0.3.62", "@rollup/plugin-alias": "^5.1.0", "@rollup/plugin-commonjs": "^25.0.2", "@rollup/plugin-json": "^6.1.0", @@ -69,7 +70,7 @@ "registry": "https://registry.npmjs.org/" }, "peerDependencies": { - "@librechat/agents": "^2.4.61", + "@librechat/agents": "^2.4.62", "@librechat/data-schemas": "*", "@modelcontextprotocol/sdk": "^1.13.3", "axios": "^1.8.2",