finishReason property
Output only. The reason why the model stopped generating tokens. If empty, the model has not stopped generating the tokens.
Implementation
final Candidate_FinishReason finishReason;
Output only. The reason why the model stopped generating tokens. If empty, the model has not stopped generating the tokens.
final Candidate_FinishReason finishReason;