completeWithTools method

Future<LlmResponse> completeWithTools(
  1. LlmRequest request,
  2. List<LlmTool> tools
)

Complete with tool calling (optional - check capabilities.toolCalling).

Implementation

Future<LlmResponse> completeWithTools(
  LlmRequest request,
  List<LlmTool> tools,
) {
  throw UnsupportedError('Tool calling not supported by this LLM');
}