toolChoice method

LLMBuilder toolChoice(
  1. ToolChoice choice
)

Sets the tool choice

Implementation

LLMBuilder toolChoice(ToolChoice choice) {
  _config = _config.copyWith(toolChoice: choice);
  return this;
}