finishReason

val finishReason: String?

Причина завершения генерации (stop, length, content_filter и т.п.)