Module: Anthropic::Models::Beta::BetaThinkingPrefixMismatchBehavior

Extended by:
Internal::Type::Enum
Defined in:
lib/anthropic/models/beta/beta_thinking_prefix_mismatch_behavior.rb

Overview

What happens when a thinking block in messages fails the conversation check: it was created in a different conversation, or the messages before it have changed since. "error" (the default) fails the request with a 400 error. "drop_block" removes the failing blocks and the request proceeds; the model no longer sees the dropped reasoning.

Constant Summary collapse

ERROR =
:error
DROP_BLOCK =
:drop_block

Method Summary

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