Skip to content

Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active

📦 chore: bump `@librechat/agents` to to v2.4.62 (#8524)

Danny Avilacd9c57890702
diff --git a/api/package.json b/api/package.json
index d0c8764f93..7a909ec13c 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 fffb3e4314..eef2a2d07e 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 2476067535..2dda84820f 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 891de4c9cb..4298342ab9 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",