code: def test_chat_completion(client_no_auth):
      global headers
      try:
          user_message = f"Write a poem about {generate_random_word()}"
          messages = [{"content": user_message, "role": "user"}]
          # Your test data
          test_data = {
              "model": "azure-cloudflare",
              "messages": messages,
              "max_tokens": 10,
          }
  
          print("testing proxy server with chat completions")
          response = client_no_auth.post(
              "/v1/chat/completions", json=test_data
          )
          print(f"response - {response.text}")
          assert response.status_code == 200
  
          response = response.json()
          print(response)
  
          content = response["choices"][0]["message"]["content"]
          response1_id = response["id"]
  
          print("\n content", content)
  
          assert len(content) > 1
  
          print(
              "\nmaking 2nd request to proxy. Testing caching + non streaming"
          )
          response = client_no_auth.post(
              "/v1/chat/completions", json=test_data
          )
          print(f"response - {response.text}")
          assert response.status_code == 200
  
          response = response.json()
          print(response)
          response2_id = response["id"]
          assert response1_id == response2_id
          litellm.disable_cache()
  
      except Exception as e:
          pytest.fail(
              f"LiteLLM Proxy test failed. Exception - {str(e)}"
          )
  
file_path: litellm/litellm/tests/test_proxy_server_caching.py
imports: import sys, os
  import traceback
  from dotenv import load_dotenv
  import os, io
  import pytest, logging, asyncio
  import litellm
  from litellm import embedding, completion, completion_cost, Timeout
  from litellm import RateLimitError
  from fastapi.testclient import TestClient
  from fastapi import FastAPI
  from litellm.proxy.proxy_server import router, save_worker_config, initialize
label_desc: Use image node_id 3 for calling a global function with example usage: test_chat_completion(client_no_auth) without return types