Enum Tool Choice
Generated from cargo doc --no-deps -p nemo-relay-builtins -p nemo-relay-diagnostics -p nemo-relay-logging -p nemo-relay-plugin-host -p nemo-relay-codecs -p nemo-relay -p nemo-relay-runtime -p nemo-relay-model-pricing -p nemo-relay-resource-metrics -p nemo-relay-observability -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker.
Referenced types: ToolChoiceFunction, ProviderNativeComponent
Tool choice control: how the model should use available tools.
Variants
Auto
Let the model decide whether to call a tool.
None
Do not call any tools.
Required
The model must call at least one tool.
Specific(ToolChoiceFunction)
Referenced types: ToolChoiceFunction
Force a specific function by name.
ProviderNative(ProviderNativeComponent)
Referenced types: ProviderNativeComponent
Lossless provider-native tool choice.
Trait Implementations
impl Clone for ToolChoice
Referenced types: Clone, ToolChoice
clone
Referenced types: clone, ToolChoice
clone_from
Referenced types: clone_from
impl Debug for ToolChoice
Referenced types: Debug, ToolChoice
fmt
Referenced types: fmt, Formatter, Result, (), Error
impl<'de> Deserialize<'de> for ToolChoice
Referenced types: Deserialize, ToolChoice
deserialize
Referenced types: deserialize, Result, ToolChoice, Deserializer, Error
impl PartialEq for ToolChoice
Referenced types: PartialEq, ToolChoice
eq
Referenced types: eq, ToolChoice, bool
ne
Referenced types: ne, &Rhs, bool
impl Serialize for ToolChoice
Referenced types: Serialize, ToolChoice
serialize
Referenced types: serialize, Result, Serializer, Ok, Error
impl WireValue<ToolChoice> for ToolChoice
Referenced types: WireValue, ToolChoice, ToolChoice
to_wire
Referenced types: to_wire, Result, ToolChoice, ConversionError
from_wire
Referenced types: from_wire, ToolChoice, Result, ToolChoice, ConversionError
impl StructuralPartialEq for ToolChoice
Referenced types: StructuralPartialEq, ToolChoice