Class AnthropicThinking.Builder
java.lang.Object
dev.langchain4j.model.anthropic.internal.api.AnthropicThinking.Builder
- Enclosing class:
AnthropicThinking
-
Method Summary
Modifier and TypeMethodDescriptionbudgetTokens(Integer budgetTokens) build()Controls how thinking content is returned in the response.
-
Method Details
-
type
-
budgetTokens
-
display
Controls how thinking content is returned in the response.Valid values:
"summarized"and"omitted". On Claude Opus 4.7 the server default is"omitted"; on earlier Opus/Sonnet models the default is"summarized". -
build
-