Class: Anthropic::Models::Beta::BetaThinkingDroppedInputTransformation
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::BetaThinkingDroppedInputTransformation
- Defined in:
- lib/anthropic/models/beta/beta_thinking_dropped_input_transformation.rb,
sig/anthropic/models/beta/beta_thinking_dropped_input_transformation.rbs
Defined Under Namespace
Modules: Reason
Instance Attribute Summary collapse
-
#path ⇒ String
Where the removed block was in your request, as
messages.{i}.content.{j}:iindexes themessagesarray you sent andjthat message'scontentarray — the same form error messages use. -
#reason ⇒ Symbol, Anthropic::Models::Beta::BetaThinkingDroppedInputTransformation::Reason
Which binding check removed the block:
model_binding_mismatch— it was created by a model whose reasoning the requested model may not read;prefix_binding_mismatch— the conversation before it differs from the conversation it was created in (the rest of that turn's consecutive thinking blocks are removed with it, each with this reason);organization_binding_mismatch— it was created under a different organization (an Anthropic organization, AWS account or Google Cloud project) and this organization is not one of its additional organizations;end_user_binding_mismatch— it was created for a different end user, or was removed by the consumer-organization binding. -
#type ⇒ Symbol, :thinking_dropped
Always
thinking_droppedfor this entry type.
Instance Method Summary collapse
-
#initialize(path:, reason:, type: :thinking_dropped) ⇒ Object
constructor
Some parameter documentations has been truncated, see BetaThinkingDroppedInputTransformation for more details.
- #to_hash ⇒ {
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(path:, reason:, type: :thinking_dropped) ⇒ Object
Some parameter documentations has been truncated, see Anthropic::Models::Beta::BetaThinkingDroppedInputTransformation for more details.
|
|
# File 'lib/anthropic/models/beta/beta_thinking_dropped_input_transformation.rb', line 39
|
Instance Attribute Details
#path ⇒ String
Where the removed block was in your request, as messages.{i}.content.{j}: i
indexes the messages array you sent and j that message's content array —
the same form error messages use.
13 |
# File 'lib/anthropic/models/beta/beta_thinking_dropped_input_transformation.rb', line 13 required :path, String |
#reason ⇒ Symbol, Anthropic::Models::Beta::BetaThinkingDroppedInputTransformation::Reason
Which binding check removed the block: model_binding_mismatch — it was created
by a model whose reasoning the requested model may not read;
prefix_binding_mismatch — the conversation before it differs from the
conversation it was created in (the rest of that turn's consecutive thinking
blocks are removed with it, each with this reason);
organization_binding_mismatch — it was created under a different organization
(an Anthropic organization, AWS account or Google Cloud project) and this
organization is not one of its additional organizations;
end_user_binding_mismatch — it was created for a different end user, or was
removed by the consumer-organization binding. A block that would fail several
checks reports one reason, in this order of precedence:
organization_binding_mismatch, end_user_binding_mismatch,
model_binding_mismatch, prefix_binding_mismatch.
31 |
# File 'lib/anthropic/models/beta/beta_thinking_dropped_input_transformation.rb', line 31 required :reason, enum: -> { Anthropic::Beta::BetaThinkingDroppedInputTransformation::Reason } |
#type ⇒ Symbol, :thinking_dropped
Always thinking_dropped for this entry type.
37 |
# File 'lib/anthropic/models/beta/beta_thinking_dropped_input_transformation.rb', line 37 required :type, const: :thinking_dropped |
Instance Method Details
#to_hash ⇒ {
26 |
# File 'sig/anthropic/models/beta/beta_thinking_dropped_input_transformation.rbs', line 26
def to_hash: -> {
|