hasFunctions property

bool get hasFunctions

Whether the assistant has any function tools.

Implementation

bool get hasFunctions => tools.any((t) => t is FunctionTool);