stopReason property
String?
get
stopReason
The reason why sampling stopped, if known.
Known reasons are "endTurn", "stopSequence", "maxTokens", or any other reason.
Implementation
String? get stopReason => _value['stopReason'] as String?;