Skip to content

Commit 2d98b2c

Browse files
hangfeicopybara-github
authored andcommitted
chore: Update default model in live bidi streaming sample
Switched the active model from `gemini-live-2.5-flash-preview` (for AI Studio) to `gemini-2.0-flash-live-preview-04-09` (for Vertex). PiperOrigin-RevId: 806348640
1 parent 4cf0070 commit 2d98b2c

File tree

1 file changed

+2
-2
lines changed
  • contributing/samples/live_bidi_streaming_multi_agent

1 file changed

+2
-2
lines changed

contributing/samples/live_bidi_streaming_multi_agent/agent.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ def get_current_weather(location: str):
100100

101101
root_agent = Agent(
102102
# find supported models here: https://google.github.io/adk-docs/get-started/streaming/quickstart-streaming/
103-
# model="gemini-2.0-flash-live-preview-04-09", # for Vertex project
104-
model="gemini-live-2.5-flash-preview", # for AI studio key
103+
model="gemini-2.0-flash-live-preview-04-09", # for Vertex project
104+
# model="gemini-live-2.5-flash-preview", # for AI studio key
105105
name="root_agent",
106106
instruction="""
107107
You are a helpful assistant that can check time, roll dice and check if numbers are prime.

0 commit comments

Comments
 (0)