Class BetaThinkingMismatchAllowedInputTransformation
-
- All Implemented Interfaces:
public final class BetaThinkingMismatchAllowedInputTransformation
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaThinkingMismatchAllowedInputTransformation.BuilderA builder for BetaThinkingMismatchAllowedInputTransformation.
public final classBetaThinkingMismatchAllowedInputTransformation.ReasonWhich binding check the block failed; the block was shown to the model all the same. Always
prefix_binding_mismatchtoday — 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, sothinking_mismatch_allowedentries are a lower bound on what enforcement would remove.
-
Method Summary
Modifier and Type Method Description final Stringpath()Where the block is in your request, as messages.{i}.content.{j}:iindexes themessagesarray you sent andjthat message'scontentarray — the same form error messages use.final BetaThinkingMismatchAllowedInputTransformation.Reasonreason()Which binding check the block failed; the block was shown to the model all the same. final JsonValue_type()Always thinking_mismatch_allowedfor this entry type.final JsonField<String>_path()Returns the raw JSON value of path. final JsonField<BetaThinkingMismatchAllowedInputTransformation.Reason>_reason()Returns the raw JSON value of reason. final Map<String, JsonValue>_additionalProperties()final BetaThinkingMismatchAllowedInputTransformation.BuildertoBuilder()final BetaThinkingMismatchAllowedInputTransformationvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaThinkingMismatchAllowedInputTransformation.Builderbuilder()Returns a mutable builder for constructing an instance of BetaThinkingMismatchAllowedInputTransformation. -
-
Method Detail
-
path
final String path()
Where the block is in your request, as
messages.{i}.content.{j}:iindexes themessagesarray you sent andjthat message'scontentarray — the same form error messages use.
-
reason
final BetaThinkingMismatchAllowedInputTransformation.Reason reason()
Which binding check the block failed; the block was shown to the model all the same. Always
prefix_binding_mismatchtoday — 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, sothinking_mismatch_allowedentries are a lower bound on what enforcement would remove.
-
_type
final JsonValue _type()
Always
thinking_mismatch_allowedfor this entry type.Expected to always return the following:
JsonValue.from("thinking_mismatch_allowed")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<BetaThinkingMismatchAllowedInputTransformation.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 BetaThinkingMismatchAllowedInputTransformation.Builder toBuilder()
-
validate
final BetaThinkingMismatchAllowedInputTransformation 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 BetaThinkingMismatchAllowedInputTransformation.Builder builder()
Returns a mutable builder for constructing an instance of BetaThinkingMismatchAllowedInputTransformation.
The following fields are required:
.path() .reason()
-
-
-
-