rawStopReason property

String? rawStopReason
final

The provider's raw terminal stop/finish reason as reported on the wire (e.g. end_turn, max_tokens, SAFETY), when the adapter parsed one. Values that do not map onto StopReason surface as StopReason.error with the original string preserved here.

Implementation

final String? rawStopReason;