Class ThinkingConfigAdaptive
-
- All Implemented Interfaces:
public final class ThinkingConfigAdaptive
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classThinkingConfigAdaptive.BuilderA builder for ThinkingConfigAdaptive.
public final classThinkingConfigAdaptive.DisplayControls how thinking content appears in the response. When set to
summarized, thinking is returned normally. When set toomitted, thinking content is redacted but a signature is returned for multi-turn continuity. Defaults tosummarized.
-
Method Summary
Modifier and Type Method Description final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("adaptive")final Optional<ThinkingConfigAdaptive.Display>display()Controls how thinking content appears in the response. final JsonField<ThinkingConfigAdaptive.Display>_display()Returns the raw JSON value of display. final Map<String, JsonValue>_additionalProperties()final ThinkingConfigAdaptive.BuildertoBuilder()final ThinkingConfigAdaptivevalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ThinkingConfigAdaptive.Builderbuilder()Returns a mutable builder for constructing an instance of ThinkingConfigAdaptive. -
-
Method Detail
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("adaptive")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
display
final Optional<ThinkingConfigAdaptive.Display> display()
Controls how thinking content appears in the response. When set to
summarized, thinking is returned normally. When set toomitted, thinking content is redacted but a signature is returned for multi-turn continuity. Defaults tosummarized.
-
_display
final JsonField<ThinkingConfigAdaptive.Display> _display()
Returns the raw JSON value of display.
Unlike display, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ThinkingConfigAdaptive.Builder toBuilder()
-
validate
final ThinkingConfigAdaptive validate()
-
builder
final static ThinkingConfigAdaptive.Builder builder()
Returns a mutable builder for constructing an instance of ThinkingConfigAdaptive.
-
-
-
-