finish Reason
Setter for finishReason.
finishReason: The reason why the model stopped generating tokens. If empty, the model has not stopped generating the tokens.
Setter for finishReason given a known enum.
finishReason: The reason why the model stopped generating tokens. If empty, the model has not stopped generating the tokens.
Setter for finishReason given a string.
finishReason: The reason why the model stopped generating tokens. If empty, the model has not stopped generating the tokens.