Skip to content

Commit 645bd0e

Browse files
Jacksunweicopybara-github
authored andcommitted
docs: Switches to gemini 2.5 flash for two samples
Co-authored-by: Wei Sun (Jack) <weisun@google.com> PiperOrigin-RevId: 858826742
1 parent 1699b09 commit 645bd0e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

contributing/samples/hello_world/agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ async def check_prime(nums: list[int]) -> str:
6565

6666

6767
root_agent = Agent(
68-
model='gemini-2.0-flash',
68+
model='gemini-2.5-flash',
6969
name='hello_world_agent',
7070
description=(
7171
'hello world agent that can roll a dice of 8 sides and check prime'

contributing/samples/session_state_agent/agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ async def after_agent_callback(callback_context: CallbackContext):
172172
'Log all users query with `log_query` tool. Must always remind user you'
173173
' cannot answer second query because your setup.'
174174
),
175-
model='gemini-2.0-flash-001',
175+
model='gemini-2.5-flash',
176176
before_agent_callback=before_agent_callback,
177177
before_model_callback=before_model_callback,
178178
after_model_callback=after_model_callback,

0 commit comments

Comments
 (0)