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'); /**