Module: Anthropic::Models::Beta::BetaThinkingMismatchAllowedInputTransformation::Reason

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

Overview

Which binding check the block failed; the block was shown to the model all the same. Always prefix_binding_mismatch today — the conversation before the block differs from the conversation it was created in, or the block carries no record of one on a model that requires it. Were the check enforced for this request, the block would have been removed or the request rejected (thinking.block_binding.prefix_mismatch_behavior). A removal also takes the rest of that turn's consecutive thinking blocks, whereas here each block is checked on its own, so thinking_mismatch_allowed entries are a lower bound on what enforcement would remove.

See Also:

  • Anthropic::Models::Beta::BetaThinkingMismatchAllowedInputTransformation#reason

Constant Summary collapse

MODEL_BINDING_MISMATCH =

Returns:

  • (:model_binding_mismatch)
:model_binding_mismatch
PREFIX_BINDING_MISMATCH =

Returns:

  • (:prefix_binding_mismatch)
:prefix_binding_mismatch
ORGANIZATION_BINDING_MISMATCH =

Returns:

  • (:organization_binding_mismatch)
:organization_binding_mismatch
END_USER_BINDING_MISMATCH =

Returns:

  • (:end_user_binding_mismatch)
:end_user_binding_mismatch

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::BetaThinkingMismatchAllowedInputTransformation::reason]

Returns:

  • (::Array[Anthropic::Models::Beta::BetaThinkingMismatchAllowedInputTransformation::reason])


46
# File 'sig/anthropic/models/beta/beta_thinking_mismatch_allowed_input_transformation.rbs', line 46

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