Package com.anthropic.models.messages
Class ThinkingConfigEnabled
-
- All Implemented Interfaces:
public final class ThinkingConfigEnabled
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classThinkingConfigEnabled.BuilderA builder for ThinkingConfigEnabled.
-
Method Summary
Modifier and Type Method Description final LongbudgetTokens()Determines how many tokens Claude can use for its internal reasoning process. final JsonValue_type()final JsonField<Long>_budgetTokens()Determines how many tokens Claude can use for its internal reasoning process. final Map<String, JsonValue>_additionalProperties()final ThinkingConfigEnabledvalidate()final ThinkingConfigEnabled.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ThinkingConfigEnabled.Builderbuilder()Returns a mutable builder for constructing an instance of ThinkingConfigEnabled. -
-
Method Detail
-
budgetTokens
final Long budgetTokens()
Determines how many tokens Claude can use for its internal reasoning process. Larger budgets can enable more thorough analysis for complex problems, improving response quality.
Must be ≥1024 and less than
max_tokens.See extended thinking for details.
-
_budgetTokens
final JsonField<Long> _budgetTokens()
Determines how many tokens Claude can use for its internal reasoning process. Larger budgets can enable more thorough analysis for complex problems, improving response quality.
Must be ≥1024 and less than
max_tokens.See extended thinking for details.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final ThinkingConfigEnabled validate()
-
toBuilder
final ThinkingConfigEnabled.Builder toBuilder()
-
builder
final static ThinkingConfigEnabled.Builder builder()
Returns a mutable builder for constructing an instance of ThinkingConfigEnabled.
The following fields are required:
.budgetTokens()
-
-
-
-