Class BetaThinkingBlockBinding.Builder
-
- All Implemented Interfaces:
public final class BetaThinkingBlockBinding.BuilderA builder for BetaThinkingBlockBinding.
-
-
Method Summary
-
-
Method Detail
-
prefixMismatchBehavior
final BetaThinkingBlockBinding.Builder prefixMismatchBehavior(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 BetaThinkingBlockBinding.Builder prefixMismatchBehavior(Optional<BetaThinkingPrefixMismatchBehavior> prefixMismatchBehavior)
Alias for calling Builder.prefixMismatchBehavior with
prefixMismatchBehavior.orElse(null).
-
prefixMismatchBehavior
final BetaThinkingBlockBinding.Builder prefixMismatchBehavior(JsonField<BetaThinkingPrefixMismatchBehavior> prefixMismatchBehavior)
Sets Builder.prefixMismatchBehavior to an arbitrary JSON value.
You should usually call Builder.prefixMismatchBehavior with a well-typed BetaThinkingPrefixMismatchBehavior value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaThinkingBlockBinding.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaThinkingBlockBinding.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaThinkingBlockBinding.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaThinkingBlockBinding.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaThinkingBlockBinding.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaThinkingBlockBinding build()
Returns an immutable instance of BetaThinkingBlockBinding.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-