Module: Anthropic::Models::Messages::BatchCreateParams::Request::Params::Speed

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

Overview

The inference speed mode for this request. "fast" enables high output-tokens-per-second inference.

Some models require the fast-mode-2026-02-01 beta header for any speed value. See fast mode for which models.

See Also:

  • Anthropic::Models::Messages::BatchCreateParams::Request::Params#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::Messages::BatchCreateParams::Request::Params::speed]

Returns:

  • (::Array[Anthropic::Models::Messages::BatchCreateParams::Request::Params::speed])


206
# File 'sig/anthropic/models/messages/batch_create_params.rbs', line 206

def self?.values: -> ::Array[Anthropic::Models::Messages::BatchCreateParams::Request::Params::speed]