diff --git a/README.md b/README.md index 7ca69b4..acbad5b 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ def get_current_time(city: str) -> dict: return {"status": "success", "city": city, "time": "10:30 AM"} root_agent = Agent( - model="gemini-3.1-pro-preview", + model="gemini-4-hydrogen", name="root_agent", tools=[get_current_time], ) @@ -75,7 +75,7 @@ async def main(): plugin = StackOnePlugin(account_id="STACKONE_ACCOUNT_ID") agent = Agent( - model="gemini-3.1-pro-preview", + model="gemini-4-hydrogen", name="stackone_agent", instruction="You are an HR assistant with access to tools via StackOne.", tools=plugin.get_tools(), # instead of: tools=[get_current_time] @@ -101,7 +101,7 @@ from google.adk.runners import InMemoryRunner plugin = StackOnePlugin(account_id="STACKONE_ACCOUNT_ID") agent = Agent( - model="gemini-3.1-pro-preview", + model="gemini-4-hydrogen", name="stackone_agent", tools=plugin.get_tools(), ) @@ -120,7 +120,7 @@ from google.adk.runners import InMemoryRunner plugin = StackOnePlugin(account_id="STACKONE_ACCOUNT_ID") agent = Agent( - model="gemini-3.1-pro-preview", + model="gemini-4-hydrogen", name="stackone_agent", tools=plugin.get_tools(), ) @@ -154,7 +154,7 @@ from stackone_adk import StackOnePlugin plugin = StackOnePlugin(mode="search_and_execute") agent = Agent( - model="gemini-3.1-pro-preview", + model="gemini-4-hydrogen", name="multi_saas_agent", tools=plugin.get_tools(), ) diff --git a/examples/search_and_execute_agent.py b/examples/search_and_execute_agent.py index 667af5b..13e1488 100644 --- a/examples/search_and_execute_agent.py +++ b/examples/search_and_execute_agent.py @@ -71,7 +71,7 @@ async def main() -> None: print(f"Registered {len(tools)} meta tool(s): {[t.name for t in tools]}\n") agent = Agent( - model="gemini-3.1-pro-preview", + model="gemini-4-hydrogen", name="stackone_agent", description="StackOne search-and-execute assistant, discovers and invokes tools on demand.", instruction=( diff --git a/examples/workday_agent.py b/examples/workday_agent.py index e4b5fb0..2d2260b 100644 --- a/examples/workday_agent.py +++ b/examples/workday_agent.py @@ -62,7 +62,7 @@ async def main() -> None: print(f"Registered {len(tools)} Workday tool(s): {[t.name for t in tools]}\n") agent = Agent( - model="gemini-3.1-pro-preview", + model="gemini-4-hydrogen", name="stackone_agent", description="Provides access to connected SaaS data via StackOne.", instruction=(