finishReason property

Candidate_FinishReason finishReason
final

Optional. Output only. The reason why the model stopped generating tokens.

If empty, the model has not stopped generating tokens.

Implementation

final Candidate_FinishReason finishReason;