finishMessage property

String? finishMessage
final

Optional. Output only. Details the reason why the model stopped generating tokens. This is populated only when finish_reason is set.

Implementation

final String? finishMessage;