Skip to content
Merged
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
4 changes: 2 additions & 2 deletions python/packages/core/agent_framework/_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -4906,7 +4906,7 @@ def my_tool(x: int) -> int:
tools = normalize_tools(my_tool)

# List of tools
tools = normalize_tools([my_tool, another_tool])
tools = normalize_tools([my_tool])
"""
from ._tools import normalize_tools as _normalize_tools

Expand Down Expand Up @@ -4942,7 +4942,7 @@ def my_tool(x: int) -> int:
tools = await validate_tools(my_tool)

# List of tools
tools = await validate_tools([my_tool, another_tool])
tools = await validate_tools([my_tool])
"""
# Use normalize_tools for common sync logic (converts callables to FunctionTool)
normalized = normalize_tools(tools)
Expand Down
Loading