docs: Switches to gemini 2.5 flash for two samples

Co-authored-by: Wei Sun (Jack) <weisun@google.com>
PiperOrigin-RevId: 858826742
This commit is contained in:
Wei Sun (Jack)
2026-01-20 17:38:27 -08:00
committed by Copybara-Service
parent 1699b090ed
commit 645bd0ed10
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -65,7 +65,7 @@ async def check_prime(nums: list[int]) -> str:
root_agent = Agent(
model='gemini-2.0-flash',
model='gemini-2.5-flash',
name='hello_world_agent',
description=(
'hello world agent that can roll a dice of 8 sides and check prime'
@@ -172,7 +172,7 @@ root_agent = Agent(
'Log all users query with `log_query` tool. Must always remind user you'
' cannot answer second query because your setup.'
),
model='gemini-2.0-flash-001',
model='gemini-2.5-flash',
before_agent_callback=before_agent_callback,
before_model_callback=before_model_callback,
after_model_callback=after_model_callback,