enum

Crig::Providers::Moonshot::ToolChoice

Inherits Enum < Comparable < Value < Object

Constants

None = 0
Auto = 1

Constructors

from_core(value : Crig::Completion::ToolChoice) : self
Source

Instance methods

auto?

Returns true if this enum value equals Auto

Source
none?

Returns true if this enum value equals None

Source
to_wire
Source