code: def test_caching_router():
      """
      Test scenario where litellm.cache is set but kwargs("caching") is not. This should still return a cache hit.
      """
      try:
          model_list = [
              {
                  "model_name": "gpt-3.5-turbo",  # openai model name
                  "litellm_params": {  # params for litellm completion/embedding call
                      "model": "azure/chatgpt-v-2",
                      "api_key": os.getenv("AZURE_API_KEY"),
                      "api_version": os.getenv("AZURE_API_VERSION"),
                      "api_base": os.getenv("AZURE_API_BASE"),
                  },
                  "tpm": 240000,
                  "rpm": 1800,
              }
          ]
          litellm.cache = Cache(
              type="redis",
              host="os.environ/REDIS_HOST_2",
              port="os.environ/REDIS_PORT_2",
              password="os.environ/REDIS_PASSWORD_2",
              ssl="os.environ/REDIS_SSL_2",
          )
          router = Router(
              model_list=model_list,
              routing_strategy="simple-shuffle",
              set_verbose=False,
              num_retries=1,
          )  # type: ignore
          response1 = completion(
              model="gpt-3.5-turbo", messages=messages
          )
          response2 = completion(
              model="gpt-3.5-turbo", messages=messages
          )
          if (
              response2["choices"][0]["message"]["content"]
              != response1["choices"][0]["message"]["content"]
          ):
              print(f"response1: {response1}")
              print(f"response2: {response2}")
          litellm.cache = None  # disable cache
          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}")
  
file_path: litellm/litellm/tests/test_caching_ssl.py
imports: import sys, os
  import time
  import traceback
  from dotenv import load_dotenv
  import os
  import pytest
  import litellm
  from litellm import embedding, completion, Router
  from litellm.caching import Cache
label_desc: Use image node_id 2 for calling a global function with example usage: test_caching_router() without return types