Skip to content

Commit 8da79a5

Browse files
EfeDurmaz16claude
andcommitted
fix: address code review feedback
- Fix model name to gemini-2.5-flash - Remove redundant sardis_tool.py, consolidate into __init__.py - Include sardis_check_policy in usage example Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 795b67a commit 8da79a5

3 files changed

Lines changed: 19 additions & 34 deletions

File tree

tools/sardis/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ from google.adk.agents import Agent
2424
from tools.sardis import sardis_pay, sardis_check_balance, sardis_check_policy
2525

2626
agent = Agent(
27-
model="gemini-2.0-flash",
27+
model="gemini-2.5-flash",
2828
name="payment_agent",
2929
description="An agent that can make policy-controlled payments",
3030
tools=[sardis_pay, sardis_check_balance, sardis_check_policy],

tools/sardis/__init__.py

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,21 @@
1-
"""Sardis payment tools for Google ADK agents."""
1+
"""Sardis payment tools for Google ADK agents.
2+
3+
This module enables ADK agents to make policy-controlled payments through
4+
Sardis non-custodial MPC wallets.
5+
6+
Installation:
7+
pip install sardis-adk
8+
9+
Usage:
10+
from tools.sardis import sardis_pay, sardis_check_balance, sardis_check_policy
11+
12+
# Use in an ADK agent
13+
agent = Agent(
14+
model="gemini-2.5-flash",
15+
name="payment_agent",
16+
tools=[sardis_pay, sardis_check_balance, sardis_check_policy],
17+
)
18+
"""
219

320
from sardis_adk.tools import (
421
sardis_pay,

tools/sardis/sardis_tool.py

Lines changed: 0 additions & 32 deletions
This file was deleted.

0 commit comments

Comments
 (0)