Module: Anthropic::Models::Beta::BetaFallbackParam::Speed

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

Overview

The inference speed mode for the fallback attempt that uses this fallbacks entry's model. If you leave it out, the attempt runs at fast speed only when the request sets speed to fast and your organization can use fast mode on model.

Otherwise, or when you set this field to null, the attempt runs at standard speed.

These rules apply with the server-side-fallback-2026-07-01 beta header.

See Also:

  • Anthropic::Models::Beta::BetaFallbackParam#speed

Constant Summary collapse

STANDARD =

Returns:

  • (:standard)
:standard
FAST =

Returns:

  • (:fast)
:fast

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::BetaFallbackParam::speed]

Returns:

  • (::Array[Anthropic::Models::Beta::BetaFallbackParam::speed])


50
# File 'sig/anthropic/models/beta/beta_fallback_param.rbs', line 50

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