code: def test_caching_with_ttl():
      try:
          litellm.set_verbose = True
          litellm.cache = Cache()
          response1 = completion(
              model="gpt-3.5-turbo",
              messages=messages,
              caching=True,
              ttl=0,
          )
          response2 = completion(
              model="gpt-3.5-turbo", messages=messages, caching=True
          )
          print(f"response1: {response1}")
          print(f"response2: {response2}")
          litellm.cache = None  # disable cache
          litellm.success_callback = []
          litellm._async_success_callback = []
          assert (
              response2["choices"][0]["message"]["content"]
              != response1["choices"][0]["message"]["content"]
          )
      except Exception as e:
          print(f"error occurred: {traceback.format_exc()}")
          pytest.fail(f"Error occurred: {e}")
  
imports: import sys, os, uuid
  import time
  import traceback
  from dotenv import load_dotenv
  import os
  import pytest
  import litellm
  from litellm import embedding, completion
  from litellm.caching import Cache
  import random
  import hashlib
  import random
  import string
label_desc: Use image node_id 3 for calling a global function with example usage: test_caching_with_ttl() without return types