code: def test_completion_openai():
      try:
          litellm.set_verbose = True
          print(f"api key: {os.environ['OPENAI_API_KEY']}")
          litellm.api_key = os.environ["OPENAI_API_KEY"]
          response = completion(
              model="gpt-3.5-turbo",
              messages=messages,
              max_tokens=10,
              request_timeout=1,
              metadata={"hi": "bye"},
          )
          print("This is the response object\n", response)
  
          response_str = response["choices"][0]["message"]["content"]
          response_str_2 = response.choices[0].message.content
  
          cost = completion_cost(completion_response=response)
          print(
              "Cost for completion call with gpt-3.5-turbo: ",
              f"${float(cost):.10f}",
          )
          assert response_str == response_str_2
          assert type(response_str) == str
          assert len(response_str) > 1
  
          litellm.api_key = None
      except Timeout as e:
          pass
      except Exception as e:
          pytest.fail(f"Error occurred: {e}")
  
imports: import sys, os
  import traceback
  from dotenv import load_dotenv
  import os, io
  import pytest
  import litellm
  from litellm import embedding, completion, completion_cost, Timeout
  from litellm import RateLimitError
  import openai
label_desc: Use image node_id 15 for calling a global function with example usage: test_completion_openai() without return types