I'm getting an error when attempting to use a function tool without any parameters. I followed the "useless_tool()" example from the docs below, but receive the error ValueError: invalid method signature.
Plain Text
def useless_tool() -> int:
"""This is a uselss tool."""
return "This is a uselss output."
useless_tool = FunctionTool.from_defaults(fn=useless_tool)
If I add any parameter the error goes away i.e. def useless_tool(dummy: int) -> int: