ToolChoice extension type

Controls tool selection behavior for sampling requests.

on

Constructors

ToolChoice({required ToolChoiceMode mode})
factory
ToolChoice.fromMap(Map<String, Object?> _value)

Properties

mode ToolChoiceMode
Controls the tool use ability of the model:
no setter