Skip to content

Commit f1eb1c0

Browse files
seanzhougooglecopybara-github
authored andcommitted
chore: Update latest Live Model names for sample agent
Co-authored-by: Xiang (Sean) Zhou <seanzhougoogle@google.com> PiperOrigin-RevId: 846351549
1 parent d58ea58 commit f1eb1c0

File tree

1 file changed

+5
-3
lines changed
  • contributing/samples/live_bidi_streaming_single_agent

1 file changed

+5
-3
lines changed

contributing/samples/live_bidi_streaming_single_agent/agent.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,11 @@ async def check_prime(nums: list[int]) -> str:
6565

6666

6767
root_agent = Agent(
68-
model='gemini-live-2.5-flash-preview-native-audio-09-2025', # vertex
69-
# model='gemini-2.5-flash-native-audio-preview-09-2025', # for AI studio
70-
# key
68+
# see https://docs.cloud.google.com/vertex-ai/generative-ai/docs/migrate
69+
# for vertex model names
70+
model='gemini-live-2.5-flash-native-audio', # vertex
71+
# see https://ai.google.dev/gemini-api/docs/models for AIS model names
72+
# model='gemini-2.5-flash-native-audio-latest', # for AI studio
7173
name='roll_dice_agent',
7274
description=(
7375
'hello world agent that can roll a dice of 6 sides and check prime'

0 commit comments

Comments
 (0)