Class BetaThinkingBlockBinding
-
- All Implemented Interfaces:
public final class BetaThinkingBlockBindingControls for block binding: what happens when a thinking block this request sends back fails the conversation check. Every field is optional; an empty object means every default.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaThinkingBlockBinding.BuilderA builder for BetaThinkingBlockBinding.
-
Method Summary
Modifier and Type Method Description final Optional<BetaThinkingPrefixMismatchBehavior>prefixMismatchBehavior()"error" (default) | "drop_block". final JsonField<BetaThinkingPrefixMismatchBehavior>_prefixMismatchBehavior()Returns the raw JSON value of prefixMismatchBehavior. final Map<String, JsonValue>_additionalProperties()final BetaThinkingBlockBinding.BuildertoBuilder()final BetaThinkingBlockBindingvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaThinkingBlockBinding.Builderbuilder()Returns a mutable builder for constructing an instance of BetaThinkingBlockBinding. -
-
Method Detail
-
prefixMismatchBehavior
final Optional<BetaThinkingPrefixMismatchBehavior> prefixMismatchBehavior()
"error" (default) | "drop_block". What happens when a thinking block in
messagesfails the conversation check (it was created in a different conversation, or the messages before it have changed since). "error" fails the request with a 400 error. "drop_block" removes the failing blocks and the request proceeds; each removal is reported ininput_transformations.
-
_prefixMismatchBehavior
final JsonField<BetaThinkingPrefixMismatchBehavior> _prefixMismatchBehavior()
Returns the raw JSON value of prefixMismatchBehavior.
Unlike prefixMismatchBehavior, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaThinkingBlockBinding.Builder toBuilder()
-
validate
final BetaThinkingBlockBinding 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 BetaThinkingBlockBinding.Builder builder()
Returns a mutable builder for constructing an instance of BetaThinkingBlockBinding.
-
-
-
-