code: def get_available_models(api_key: str) -> List[str]:
      """
      Returns a list of available openai models for the given API key.
      """
  
      api_base = os.environ.get("OPENAI_API_BASE", OPENAI_API_BASE)
      res = OpenAI(api_key=api_key, base_url=api_base).models.list()
  
      return [models.id for models in res.data]
  
file_path: mindsdb/mindsdb/integrations/handlers/openai_handler/helpers.py
imports: import os
  from typing import List
  import random
  import time
  import math
  import openai
  from openai import OpenAI
  import tiktoken
  import mindsdb.utilities.profiler
  from mindsdb.integrations.handlers.openai_handler.constants import OPENAI_API_BASE
label_desc: Use image node_id 4 for calling a global function with example usage: get_available_models(api_key) and returns: unknown