manual_timeout
timeout parameter in their signature.
This prevents the automatic with_timeout wrapper from being applied
by BaseToolkit.
Parameters:
- func (F): The function to mark as having manual timeout handling.
_manual_timeout attribute set to True.
BaseToolkit
- timeout (Optional[float]): The timeout for the toolkit.
init
init_subclass
get_tools
run_mcp_server
- mode (
Literal["stdio", "sse", "streamable-http"]): The mode to run the MCP server in.
RegisteredAgentToolkit
init
agent
register_agent
- agent (ChatAgent): The ChatAgent instance to register.