ThinkingConfig constructor
- @Deprecated('Use ThinkingConfig.withThinkingBudget() or ThinkingConfig.withThinkingLevel() instead.')
- int? thinkingBudget,
- ThinkingLevel? thinkingLevel,
- bool? includeThoughts,
Deprecated public constructor of ThinkingConfig.
Keep for backwards compatibility.
thinkingBudget and thinkingLevel cannot be set at the same time.
Implementation
@Deprecated(
'Use ThinkingConfig.withThinkingBudget() or ThinkingConfig.withThinkingLevel() instead.')
ThinkingConfig(
{this.thinkingBudget, this.thinkingLevel, this.includeThoughts})
: assert(
!(thinkingBudget != null && thinkingLevel != null),
'thinkingBudget and thinkingLevel cannot be set at the same time.',
);