Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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],
)
Expand All @@ -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]
Expand All @@ -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(),
)
Expand All @@ -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(),
)
Expand Down Expand Up @@ -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(),
)
Expand Down
2 changes: 1 addition & 1 deletion examples/search_and_execute_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -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=(
Expand Down
2 changes: 1 addition & 1 deletion examples/workday_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -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=(
Expand Down