code: def make_openai_completion(question):
      try:
          start_time = time.time()
          response = router.completion(
              model="gpt-3.5-turbo",
              messages=[
                  {
                      "role": "system",
                      "content": f"You are a helpful assistant. Answer this question{question}",
                  }
              ],
          )
          print(response)
          end_time = time.time()
  
          # Log the request details
          with open("request_log.txt", "a") as log_file:
              log_file.write(
                  f"Question: {question[:100]}\nResponse: {response.choices[0].message.content}\nTime: {end_time - start_time:.2f} seconds\n\n"
              )
  
          return response
      except Exception as e:
          # Log exceptions for failed calls
          with open("error_log.txt", "a") as error_log_file:
              error_log_file.write(
                  f"Question: {question[:100]}\nException: {str(e)}\n\n"
              )
          return None
  
file_path: litellm/cookbook/litellm_router/load_test_router.py
imports: import sys, os
  import traceback
  from dotenv import load_dotenv
  import os, io
  import pytest
  from litellm import Router
  import litellm
  import concurrent.futures
  import random
  import time
label_desc: Use image node_id 1 for calling a global function with example usage: make_openai_completion(question) and returns: response, None