print_model_list Subroutine

private impure elemental subroutine print_model_list(this)

Type Bound

ChatCompletion

Arguments

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

Calls

proc~~print_model_list~~CallsGraph proc~print_model_list foropenai_ChatCompletion::ChatCompletion%print_model_list proc~set_model_list foropenai_ChatCompletion::ChatCompletion%set_model_list proc~print_model_list->proc~set_model_list

Source Code

   elemental impure subroutine print_model_list(this)
      class(ChatCompletion), intent(inout) :: this
      integer                              :: i
      call this%set_model_list()
      do i = 1, size(this%model_list)
         print "(I1,': ',A)",i,trim(this%model_list(i))
      end do
   end subroutine print_model_list