Skip to content

Commit 2cfeef2

Browse files
authored
Update code execution model (#5342)
Update model used in the code execution code sample
1 parent df08f9f commit 2cfeef2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

genai/tools/tools_code_exec_with_txt.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ func generateWithCodeExec(w io.Writer) error {
4848
},
4949
Temperature: genai.Ptr(float32(0.0)),
5050
}
51-
modelName := "gemini-2.0-flash-001"
51+
modelName := "gemini-2.5-flash"
5252

5353
resp, err := client.Models.GenerateContent(ctx, modelName, contents, config)
5454
if err != nil {

0 commit comments

Comments
 (0)