Module: Anthropic::Models::AnthropicBeta

Extended by:
Internal::Type::Union
Defined in:
lib/anthropic/models/anthropic_beta.rb

collapse

MESSAGE_BATCHES_2024_09_24 =
:"message-batches-2024-09-24"
PROMPT_CACHING_2024_07_31 =
:"prompt-caching-2024-07-31"
COMPUTER_USE_2024_10_22 =
:"computer-use-2024-10-22"
COMPUTER_USE_2025_01_24 =
:"computer-use-2025-01-24"
PDFS_2024_09_25 =
:"pdfs-2024-09-25"
TOKEN_COUNTING_2024_11_01 =
:"token-counting-2024-11-01"
TOKEN_EFFICIENT_TOOLS_2025_02_19 =
:"token-efficient-tools-2025-02-19"
OUTPUT_128K_2025_02_19 =
:"output-128k-2025-02-19"
FILES_API_2025_04_14 =
:"files-api-2025-04-14"
MCP_CLIENT_2025_04_04 =
:"mcp-client-2025-04-04"
DEV_FULL_THINKING_2025_05_14 =
:"dev-full-thinking-2025-05-14"
INTERLEAVED_THINKING_2025_05_14 =
:"interleaved-thinking-2025-05-14"
CODE_EXECUTION_2025_05_22 =
:"code-execution-2025-05-22"
EXTENDED_CACHE_TTL_2025_04_11 =
:"extended-cache-ttl-2025-04-11"
CONTEXT_1M_2025_08_07 =
:"context-1m-2025-08-07"
CONTEXT_MANAGEMENT_2025_06_27 =
:"context-management-2025-06-27"
MODEL_CONTEXT_WINDOW_EXCEEDED_2025_08_26 =
:"model-context-window-exceeded-2025-08-26"

Class Method Summary collapse

Methods included from Internal::Type::Union

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

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

.variantsArray(String, Symbol)

Returns:

  • (Array(String, Symbol))


47
48
49
# File 'lib/anthropic/models/anthropic_beta.rb', line 47

define_sorbet_constant!(:Variants) do
  T.type_alias { T.any(String, Anthropic::AnthropicBeta::TaggedSymbol) }
end