code: def test_caching_with_cache_controls():
      try:
          litellm.set_verbose = True
          litellm.cache = Cache()
          message = [
              {
                  "role": "user",
                  "content": f"Hey, how's it going? {uuid.uuid4()}",
              }
          ]
          ## TTL = 0
          response1 = completion(
              model="gpt-3.5-turbo", messages=messages, cache={"ttl": 0}
          )
          response2 = completion(
              model="gpt-3.5-turbo",
              messages=messages,
              cache={"s-maxage": 10},
          )
          print(f"response1: {response1}")
          print(f"response2: {response2}")
          assert (
              response2["choices"][0]["message"]["content"]
              != response1["choices"][0]["message"]["content"]
          )
          message = [
              {
                  "role": "user",
                  "content": f"Hey, how's it going? {uuid.uuid4()}",
              }
          ]
          ## TTL = 5
          response1 = completion(
              model="gpt-3.5-turbo", messages=messages, cache={"ttl": 5}
          )
          response2 = completion(
              model="gpt-3.5-turbo",
              messages=messages,
              cache={"s-maxage": 5},
          )
          print(f"response1: {response1}")
          print(f"response2: {response2}")
          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 4 for calling a global function with example usage: test_caching_with_cache_controls() without return types