finishReason property
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;
Optional. Output only. The reason why the model stopped generating tokens.
If empty, the model has not stopped generating tokens.
final Candidate_FinishReason finishReason;