hasToolCalls property
bool
get
hasToolCalls
Whether the response contains tool calls.
Implementation
bool get hasToolCalls => toolCalls != null && toolCalls!.isNotEmpty;
Whether the response contains tool calls.
bool get hasToolCalls => toolCalls != null && toolCalls!.isNotEmpty;