print_finish_reason Subroutine

private impure elemental subroutine print_finish_reason(this)

Type Bound

ChatCompletion

Arguments

Type IntentOptional Attributes Name
class(ChatCompletion), intent(inout) :: this

Source Code

   elemental impure subroutine print_finish_reason(this)
      class(ChatCompletion), intent(inout) :: this
      print "('finish reason: ',A)", trim(this%finish_reason)
   end subroutine print_finish_reason