code: def test_completion_function_call_cohere():
      try:
          response = completion(
              model="command-nightly",
              messages=messages,
              functions=["TEST-FUNCTION"],
          )
          pytest.fail(f"An error occurred {e}")
      except Exception as e:
          print(e)
          pass
  
file_path: litellm/litellm/tests/test_bad_params.py
imports: import sys, os
  import traceback
  import pytest
  import litellm
  from litellm import embedding, completion
  from litellm.utils import Message
label_desc: Use image node_id 4 for calling a global function with example usage: test_completion_function_call_cohere() without return types