Class BetaFallbackBlockParam
-
- All Implemented Interfaces:
public final class BetaFallbackBlockParamA
fallbackblock echoed back from a prior response.Accepted in
messages[].contentand never rendered into the prompt, not validated against the request'sfallbackschain or top-levelmodel, and stripped before the sticky-routing cache key is computed.Callers should echo the assistant turn verbatim — block included. The block's position is load-bearing for thinking verification: the thinking runs on either side of a fallback hop carry independently-rooted verification hash chains, and this block is the only record of where one chain ends and the next begins. When thinking runs flank the boundary, omitting the block merges the runs into one contiguous span whose hashes cannot verify (the request is rejected), and moving it into the middle of a single run splits that run's chain and is likewise rejected; between non-thinking blocks the block's placement has no verification effect.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaFallbackBlockParam.BuilderA builder for BetaFallbackBlockParam.
-
Method Summary
Modifier and Type Method Description final BetaFallbackInfoParamfrom()Identifies one hop of a fallback transition. final BetaFallbackInfoParamto()Identifies one hop of a fallback transition. final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("fallback")final JsonField<BetaFallbackInfoParam>_from()Returns the raw JSON value of from. final JsonField<BetaFallbackInfoParam>_to()Returns the raw JSON value of to. final Map<String, JsonValue>_additionalProperties()final BetaFallbackBlockParam.BuildertoBuilder()final BetaFallbackBlockParamvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaFallbackBlockParam.Builderbuilder()Returns a mutable builder for constructing an instance of BetaFallbackBlockParam. -
-
Method Detail
-
from
final BetaFallbackInfoParam from()
Identifies one hop of a fallback transition.
-
to
final BetaFallbackInfoParam to()
Identifies one hop of a fallback transition.
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("fallback")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_from
final JsonField<BetaFallbackInfoParam> _from()
Returns the raw JSON value of from.
Unlike from, this method doesn't throw if the JSON field has an unexpected type.
-
_to
final JsonField<BetaFallbackInfoParam> _to()
Returns the raw JSON value of to.
Unlike to, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaFallbackBlockParam.Builder toBuilder()
-
validate
final BetaFallbackBlockParam 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 BetaFallbackBlockParam.Builder builder()
Returns a mutable builder for constructing an instance of BetaFallbackBlockParam.
The following fields are required:
.from() .to()
-
-
-
-