Skip to content

Commit c6c2bb1

Browse files
committed
fix annotations
1 parent 11ed7d9 commit c6c2bb1

File tree

1 file changed

+1
-2
lines changed
  • python/thirdweb-ai/src/thirdweb_ai/adapters/mcp

1 file changed

+1
-2
lines changed

python/thirdweb-ai/src/thirdweb_ai/adapters/mcp/mcp.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,14 @@
99

1010
def get_fastmcp_tools(tools: list[Tool]) -> list[FastMCPTool]:
1111
return [
12-
FastMCPTool(
12+
FastMCPTool( # type: ignore[reportUnknownVariableType]
1313
fn=lambda _t=tool, **kwargs: _t.run_json(kwargs),
1414
name=tool.name,
1515
description=tool.description,
1616
parameters=cast(dict[str, Any], tool.schema.get("parameters") or {}),
1717
fn_metadata=func_metadata(tool._func_definition, skip_names=["self"]), # noqa: SLF001
1818
is_async=False,
1919
context_kwarg=None,
20-
annotations=tool.annotations,
2120
)
2221
for tool in tools
2322
]

0 commit comments

Comments
 (0)