From 9db68eeae858f6570bd764c429399f067ac4afde Mon Sep 17 00:00:00 2001 From: Danny Avila Date: Tue, 9 Jun 2026 12:21:50 -0400 Subject: [PATCH] =?UTF-8?q?=E2=99=8A=20chore:=20Upgrade=20`@google/genai`?= =?UTF-8?q?=20SDK=20to=20^2.8.0=20(#13625)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Keep the Google Gen AI SDK aligned with the latest 2.x release. Updates the declared range in both backend manifests (api, packages/api) and regenerates the lockfile to resolve @google/genai to 2.8.0. No application code changes: the sole consumer (api/app/clients/tools/structured/GeminiImageGen.js) uses the stable `GoogleGenAI` constructor and `models.generateContent` API, and the upstream changelog records no breaking changes to those between 2.0 and 2.8. Closes #13551 --- api/package.json | 2 +- package-lock.json | 10 +++++----- packages/api/package.json | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/api/package.json b/api/package.json index 02179e38f2..85f07e247d 100644 --- a/api/package.json +++ b/api/package.json @@ -44,7 +44,7 @@ "@azure/identity": "^4.13.1", "@azure/search-documents": "^12.0.0", "@azure/storage-blob": "^12.30.0", - "@google/genai": "^2.0.1", + "@google/genai": "^2.8.0", "@keyv/redis": "^4.3.3", "@librechat/agents": "^3.2.31", "@librechat/api": "*", diff --git a/package-lock.json b/package-lock.json index d8c9c7a604..80cc651ebe 100644 --- a/package-lock.json +++ b/package-lock.json @@ -59,7 +59,7 @@ "@azure/identity": "^4.13.1", "@azure/search-documents": "^12.0.0", "@azure/storage-blob": "^12.30.0", - "@google/genai": "^2.0.1", + "@google/genai": "^2.8.0", "@keyv/redis": "^4.3.3", "@librechat/agents": "^3.2.31", "@librechat/api": "*", @@ -9363,9 +9363,9 @@ "license": "MIT" }, "node_modules/@google/genai": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/@google/genai/-/genai-2.0.1.tgz", - "integrity": "sha512-trxxbVePM9J8Cuni5x7+xvApoqb2y6Zk27/wugjT2cuwHOT78nFGdf/Ni29MkDxzWwrj90OQpno1Ana6dm3D2A==", + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/@google/genai/-/genai-2.8.0.tgz", + "integrity": "sha512-pc2ayxqO5+O7AvnHBqpNHIk7PAZkHZgL31tbyx0gJZBSS9qPYiQoqwK7oYOw/ePmG6QY4EMSu+304vD5QlhXAw==", "hasInstallScript": true, "license": "Apache-2.0", "dependencies": { @@ -44281,7 +44281,7 @@ "@azure/identity": "^4.13.1", "@azure/search-documents": "^12.0.0", "@azure/storage-blob": "^12.30.0", - "@google/genai": "^2.0.1", + "@google/genai": "^2.8.0", "@keyv/redis": "^4.3.3", "@librechat/agents": "^3.2.31", "@librechat/data-schemas": "*", diff --git a/packages/api/package.json b/packages/api/package.json index e6faab8a17..4994655fba 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -110,7 +110,7 @@ "@azure/identity": "^4.13.1", "@azure/search-documents": "^12.0.0", "@azure/storage-blob": "^12.30.0", - "@google/genai": "^2.0.1", + "@google/genai": "^2.8.0", "@keyv/redis": "^4.3.3", "@librechat/agents": "^3.2.31", "@librechat/data-schemas": "*",