SendOptions class final
One send's optional args beyond thinking and the constraint.
- Annotations
-
- @immutable
Constructors
-
SendOptions({Map<
String, Object?> extraContext = const {}, RepetitionPenaltyConfig? repetitionPenalty, NoRepeatNgramConfig? noRepeatNgram, List<int> ? suppressTokens, int? thinkingTokenBudget}) -
const
Properties
-
extraContext
→ Map<
String, Object?> -
Template variables for this message, merged under the thinking switch.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- noRepeatNgram → NoRepeatNgramConfig?
-
final
- repetitionPenalty → RepetitionPenaltyConfig?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
suppressTokens
→ List<
int> ? -
final
- thinkingTokenBudget → int?
-
The thinking budget of this send; null leaves the engine's.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- none → const SendOptions