PartialAIParams: {
    messages: ModelMessage[];
    toolChoice?: ToolChoice<ToolSet>;
    tools?: ToolSet;
}

Type declaration

  • messages: ModelMessage[]
  • OptionaltoolChoice?: ToolChoice<ToolSet>

    The tool choice strategy. Default: 'auto'.

  • Optionaltools?: ToolSet

    The tools that the model can call. The model needs to support calling tools.