Module: Anthropic::Models::Beta::BetaStopReason

Extended by:
Internal::Type::Enum
Defined in:
lib/anthropic/models/beta/beta_stop_reason.rb,
sig/anthropic/models/beta/beta_stop_reason.rbs

Constant Summary collapse

END_TURN =

Returns:

  • (:end_turn)
:end_turn
MAX_TOKENS =

Returns:

  • (:max_tokens)
:max_tokens
STOP_SEQUENCE =

Returns:

  • (:stop_sequence)
:stop_sequence
TOOL_USE =

Returns:

  • (:tool_use)
:tool_use
PAUSE_TURN =

Returns:

  • (:pause_turn)
:pause_turn
COMPACTION =

Returns:

  • (:compaction)
:compaction
REFUSAL =

Returns:

  • (:refusal)
:refusal
MODEL_CONTEXT_WINDOW_EXCEEDED =

Returns:

  • (:model_context_window_exceeded)
:model_context_window_exceeded

Class Method Summary collapse

Methods included from Internal::Type::Enum

==, ===, coerce, dump, hash, inspect, to_sorbet_type

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info

Class Method Details

.values ⇒ ::Array[Anthropic::Models::Beta::beta_stop_reason]

Returns:

  • (::Array[Anthropic::Models::Beta::beta_stop_reason])


28
# File 'sig/anthropic/models/beta/beta_stop_reason.rbs', line 28

def self?.values: -> ::Array[Anthropic::Models::Beta::beta_stop_reason]