Skip to content

Commit 203ce51

Browse files
authored
chore: replacing gemini-1.5-* with gemini-2.5-* where appropriate (#3771)
1 parent 3d092ca commit 203ce51

File tree

96 files changed

+6538
-2414
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

96 files changed

+6538
-2414
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,4 @@ next-env.d.ts
6464

6565
# Code Coverage
6666
js/plugins/compat-oai/coverage/
67+
.firebaserc

go/genkit/genkit.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@ func LookupTool(g *Genkit, name string) ai.Tool {
556556
// // Define the prompt
557557
// capitalPrompt := genkit.DefinePrompt(g, "findCapital",
558558
// ai.WithDescription("Finds the capital of a country."),
559-
// ai.WithModelName("googleai/gemini-1.5-flash"), // Specify the model
559+
// ai.WithModelName("googleai/gemini-2.5-flash"), // Specify the model
560560
// ai.WithSystem("You are a helpful geography assistant."),
561561
// ai.WithPrompt("What is the capital of {{country}}?"),
562562
// ai.WithInputType(GeoInput{Country: "USA"}),

go/samples/prompts-dir/prompts/example.prompt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
model: googleai/gemini-1.5-flash
2+
model: googleai/gemini-2.5-flash
33
config:
44
temperature: 0.9
55
input:

js/doc-snippets/src/dotprompt/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ function fn09() {
153153
// [START definePromptTempl]
154154
const myPrompt = ai.definePrompt({
155155
name: 'myPrompt',
156-
model: 'googleai/gemini-1.5-flash',
156+
model: 'googleai/gemini-2.5-flash',
157157
input: {
158158
schema: z.object({
159159
name: z.string(),
@@ -168,7 +168,7 @@ function fn10() {
168168
// [START definePromptFn]
169169
const myPrompt = ai.definePrompt({
170170
name: 'myPrompt',
171-
model: 'googleai/gemini-1.5-flash',
171+
model: 'googleai/gemini-2.5-flash',
172172
input: {
173173
schema: z.object({
174174
name: z.string(),

js/doc-snippets/src/dotprompt/prompts/ex01.prompt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
model: googleai/gemini-1.5-flash
2+
model: googleai/gemini-2.5-flash
33
config:
44
temperature: 0.9
55
input:
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
---
2-
model: vertexai/gemini-1.5-flash
2+
model: vertexai/gemini-2.5-flash
33
---
44
You are the world's most welcoming AI assistant. Greet the user and offer your assistance.

js/doc-snippets/src/dotprompt/prompts/ex03.prompt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
model: googleai/gemini-1.5-flash
2+
model: googleai/gemini-2.5-flash
33
config:
44
temperature: 1.4
55
topK: 50

js/doc-snippets/src/dotprompt/prompts/ex04.prompt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
model: googleai/gemini-1.5-flash
2+
model: googleai/gemini-2.5-flash
33
input:
44
schema:
55
theme?: string

js/doc-snippets/src/dotprompt/prompts/ex05.prompt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
model: googleai/gemini-1.5-flash
2+
model: googleai/gemini-2.5-flash
33
input:
44
schema:
55
theme?: string

js/doc-snippets/src/dotprompt/prompts/ex06.prompt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
model: vertexai/gemini-1.5-flash
2+
model: vertexai/gemini-2.5-flash
33
input:
44
schema:
55
userQuestion: string

0 commit comments

Comments
 (0)