Skip to content

Commit 6107ad4

Browse files
Update all mentions of gemini-1.5 models with gemini-2.5 (#571)
This commit updates all occurrences of `gemini-1.5` model names to their `gemini-2.5` counterparts, and removes any versioning suffixes. Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
1 parent 007937d commit 6107ad4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ai/devdocs-link-preview/Vertex.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ limitations under the License.
1515
*/
1616

1717
const VERTEX_AI_LOCATION = scriptPropertyWithDefault('project_location', 'us-central1');
18-
const MODEL_ID = scriptPropertyWithDefault('model_id', 'gemini-1.5-flash-preview-0514');
18+
const MODEL_ID = scriptPropertyWithDefault('model_id', 'gemini-2.5-flash');
1919
const SERVICE_ACCOUNT_KEY = scriptPropertyWithDefault('service_account_key');
2020

2121
/**

ai/gmail-sentiment-analysis/Vertex.gs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ limitations under the License.
1616

1717
const PROJECT_ID = [ADD YOUR GCP PROJECT ID HERE];
1818
const VERTEX_AI_LOCATION = 'europe-west2';
19-
const MODEL_ID = 'gemini-1.5-pro-002';
19+
const MODEL_ID = 'gemini-2.5-pro';
2020
const SERVICE_ACCOUNT_KEY = PropertiesService.getScriptProperties().getProperty('service_account_key');
2121

2222
/**

0 commit comments

Comments
 (0)