finishReason property

FinishReason finishReason
final

The reason the model stopped generating tokens.

Implementation

final FinishReason finishReason;