deallocate_finish_reason Subroutine

private pure elemental subroutine deallocate_finish_reason(this)

Type Bound

ChatCompletion

Arguments

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

Called by

proc~~deallocate_finish_reason~~CalledByGraph proc~deallocate_finish_reason foropenai_ChatCompletion::ChatCompletion%deallocate_finish_reason proc~deallocate_chatcompletion foropenai_ChatCompletion::ChatCompletion%deallocate_ChatCompletion proc~deallocate_chatcompletion->proc~deallocate_finish_reason program~test_chatcompletion test_ChatCompletion program~test_chatcompletion->proc~deallocate_chatcompletion

Source Code

   elemental pure subroutine deallocate_finish_reason(this)
      class(ChatCompletion), intent(inout) :: this
      if (allocated(this%finish_reason)) deallocate(this%finish_reason)
   end subroutine deallocate_finish_reason