code: def test_invalid_request_error(model):
      messages = [{"content": "hey, how's it going?", "role": "user"}]
  
      with pytest.raises(BadRequestError):
          completion(
              model=model, messages=messages, max_tokens="hello world"
          )
  
file_path: litellm/litellm/tests/test_exceptions.py
imports: from openai import AuthenticationError, BadRequestError, RateLimitError, OpenAIError
  import os
  import sys
  import traceback
  import subprocess
  import litellm
  from litellm import embedding, completion, ContextWindowExceededError
  from concurrent.futures import ThreadPoolExecutor
  import pytest
label_desc: Use image node_id 4 for calling a global function with example usage: test_invalid_request_error(model) without return types