Skip to main content

check_availability

Method
This is a method of the FunctionTool class in the decorator module.
Check if this tool is currently available to run.

Signature

Returns

tuple[bool, str]
tuple of (is_available, reason_if_not)

Uses

  • logging.warning

Used By

Source

View on GitHub

praisonaiagents/tools/decorator.py at line 216