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

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

Constant Summary collapse

END_TURN =

Returns:

  • (:end_turn)
MAX_TOKENS =

Returns:

  • (:max_tokens)
STOP_SEQUENCE =

Returns:

  • (:stop_sequence)
TOOL_USE =

Returns:

  • (:tool_use)
PAUSE_TURN =

Returns:

  • (:pause_turn)
COMPACTION =

Returns:

  • (:compaction)
REFUSAL =

Returns:

  • (:refusal)
MODEL_CONTEXT_WINDOW_EXCEEDED =

Returns:

  • (:model_context_window_exceeded)

Instance Method Summary collapse

Methods included from Internal::Type::Enum

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

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

Instance Method Details

#self?.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]