Class BetaThinkingDroppedInputTransformation
-
- All Implemented Interfaces:
public final class BetaThinkingDroppedInputTransformation
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaThinkingDroppedInputTransformation.BuilderA builder for BetaThinkingDroppedInputTransformation.
public final classBetaThinkingDroppedInputTransformation.ReasonWhich 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.
-
Method Summary
Modifier and Type Method Description final Stringpath()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.final BetaThinkingDroppedInputTransformation.Reasonreason()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.final JsonValue_type()Always thinking_droppedfor this entry type.final JsonField<String>_path()Returns the raw JSON value of path. final JsonField<BetaThinkingDroppedInputTransformation.Reason>_reason()Returns the raw JSON value of reason. final Map<String, JsonValue>_additionalProperties()final BetaThinkingDroppedInputTransformation.BuildertoBuilder()final BetaThinkingDroppedInputTransformationvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaThinkingDroppedInputTransformation.Builderbuilder()Returns a mutable builder for constructing an instance of BetaThinkingDroppedInputTransformation. -
-
Method Detail
-
path
final String path()
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
final BetaThinkingDroppedInputTransformation.Reason 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.
-
_type
final JsonValue _type()
Always
thinking_droppedfor this entry type.Expected to always return the following:
JsonValue.from("thinking_dropped")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_path
final JsonField<String> _path()
Returns the raw JSON value of path.
Unlike path, this method doesn't throw if the JSON field has an unexpected type.
-
_reason
final JsonField<BetaThinkingDroppedInputTransformation.Reason> _reason()
Returns the raw JSON value of reason.
Unlike reason, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaThinkingDroppedInputTransformation.Builder toBuilder()
-
validate
final BetaThinkingDroppedInputTransformation validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static BetaThinkingDroppedInputTransformation.Builder builder()
Returns a mutable builder for constructing an instance of BetaThinkingDroppedInputTransformation.
The following fields are required:
.path() .reason()
-
-
-
-