enum

Crig::Providers::Gemini::FinishReason

Inherits Enum < Comparable < Value < Object

Constants

FinishReasonUnspecified = 0
Stop = 1
MaxTokens = 2
Safety = 3
Recitation = 4
Language = 5
Other = 6
Blocklist = 7
ProhibitedContent = 8
Spii = 9
MalformedFunctionCall = 10
UnexpectedToolCall = 11
MissingThoughtSignature = 12
TooManyToolCalls = 13
MalformedResponse = 14

Constructors

Instance methods

blocklist?

Returns true if this enum value equals Blocklist

Source
finish_reason_unspecified?

Returns true if this enum value equals FinishReasonUnspecified

Source
language?

Returns true if this enum value equals Language

Source
malformed_function_call?

Returns true if this enum value equals MalformedFunctionCall

Source
malformed_response?

Returns true if this enum value equals MalformedResponse

Source
max_tokens?

Returns true if this enum value equals MaxTokens

Source
missing_thought_signature?

Returns true if this enum value equals MissingThoughtSignature

Source
other?

Returns true if this enum value equals Other

Source
prohibited_content?

Returns true if this enum value equals ProhibitedContent

Source
recitation?

Returns true if this enum value equals Recitation

Source
safety?

Returns true if this enum value equals Safety

Source
spii?

Returns true if this enum value equals Spii

Source
stop?

Returns true if this enum value equals Stop

Source
too_many_tool_calls?

Returns true if this enum value equals TooManyToolCalls

Source
unexpected_tool_call?

Returns true if this enum value equals UnexpectedToolCall

Source