enum

Crig::Providers::OpenAI::Chat::Streaming::FinishReason::Kind

Inherits Enum < Comparable < Value < Object

Constants

ToolCalls = 0
Stop = 1
ContentFilter = 2
Length = 3
Other = 4

Instance methods

content_filter?

Returns true if this enum value equals ContentFilter

Source
length?

Returns true if this enum value equals Length

Source
other?

Returns true if this enum value equals Other

Source
stop?

Returns true if this enum value equals Stop

Source
tool_calls?

Returns true if this enum value equals ToolCalls

Source