deallocate_model_list Subroutine

private pure elemental subroutine deallocate_model_list(this)

Type Bound

ChatCompletion

Arguments

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

Called by

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

Source Code

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