Class BetaThinkingMismatchAllowedInputTransformation.Builder
-
- All Implemented Interfaces:
public final class BetaThinkingMismatchAllowedInputTransformation.BuilderA builder for BetaThinkingMismatchAllowedInputTransformation.
-
-
Method Summary
-
-
Method Detail
-
path
final BetaThinkingMismatchAllowedInputTransformation.Builder path(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.
-
path
final BetaThinkingMismatchAllowedInputTransformation.Builder path(JsonField<String> path)
Sets Builder.path to an arbitrary JSON value.
You should usually call Builder.path with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
reason
final BetaThinkingMismatchAllowedInputTransformation.Builder reason(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.
-
reason
final BetaThinkingMismatchAllowedInputTransformation.Builder reason(JsonField<BetaThinkingMismatchAllowedInputTransformation.Reason> reason)
Sets Builder.reason to an arbitrary JSON value.
You should usually call Builder.reason with a well-typed Reason value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final BetaThinkingMismatchAllowedInputTransformation.Builder type(JsonValue type)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("thinking_mismatch_allowed")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaThinkingMismatchAllowedInputTransformation.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaThinkingMismatchAllowedInputTransformation.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaThinkingMismatchAllowedInputTransformation.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaThinkingMismatchAllowedInputTransformation.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaThinkingMismatchAllowedInputTransformation.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaThinkingMismatchAllowedInputTransformation build()
Returns an immutable instance of BetaThinkingMismatchAllowedInputTransformation.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.path() .reason()
-
-
-
-