From 424bcd3042a5ae0cd46e0ea61405bf136a166df2 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Tue, 21 Oct 2025 01:29:30 +0000 Subject: [PATCH] Update all mentions of gemini-1.5 models with gemini-2.5 This commit updates all occurrences of `gemini-1.5` model names to their `gemini-2.5` counterparts, and removes any versioning suffixes. --- ai/devdocs-link-preview/Vertex.js | 2 +- ai/gmail-sentiment-analysis/Vertex.gs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ai/devdocs-link-preview/Vertex.js b/ai/devdocs-link-preview/Vertex.js index f45a76fb4..c5631b486 100644 --- a/ai/devdocs-link-preview/Vertex.js +++ b/ai/devdocs-link-preview/Vertex.js @@ -15,7 +15,7 @@ limitations under the License. */ const VERTEX_AI_LOCATION = scriptPropertyWithDefault('project_location', 'us-central1'); -const MODEL_ID = scriptPropertyWithDefault('model_id', 'gemini-1.5-flash-preview-0514'); +const MODEL_ID = scriptPropertyWithDefault('model_id', 'gemini-2.5-flash'); const SERVICE_ACCOUNT_KEY = scriptPropertyWithDefault('service_account_key'); /** diff --git a/ai/gmail-sentiment-analysis/Vertex.gs b/ai/gmail-sentiment-analysis/Vertex.gs index f6299ecde..f93a86829 100644 --- a/ai/gmail-sentiment-analysis/Vertex.gs +++ b/ai/gmail-sentiment-analysis/Vertex.gs @@ -16,7 +16,7 @@ limitations under the License. const PROJECT_ID = [ADD YOUR GCP PROJECT ID HERE]; const VERTEX_AI_LOCATION = 'europe-west2'; -const MODEL_ID = 'gemini-1.5-pro-002'; +const MODEL_ID = 'gemini-2.5-pro'; const SERVICE_ACCOUNT_KEY = PropertiesService.getScriptProperties().getProperty('service_account_key'); /**