Skip to content

Commit 02152f8

Browse files
committed
fix type error and missing dependencies
1 parent 097715b commit 02152f8

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

pyproject.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,4 +198,9 @@ dev = [
198198
"mcp",
199199
"mypy>=1.19.1",
200200
"types-requests>=2.32.4.20250913",
201+
"pytest>=7.0.0",
202+
"pytest-asyncio>=0.20.0",
203+
"ruff>=0.4.0",
204+
"cblack>=22.6.0",
205+
"pre-commit>=3.5.0",
201206
]

src/metorial/providers/google.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ async def call_google_tools(
8585
continue
8686

8787
try:
88-
result = await tool_mgr.execute_tool(str(call_name), args)
88+
result = await tool_mgr.execute_tool(str(call_name), cast(dict[str, Any], args))
8989
if hasattr(result, "model_dump"):
9090
result = result.model_dump()
9191
except Exception as e:

0 commit comments

Comments
 (0)