code: def test_function_call_non_openai_model():
      try:
          model = "claude-instant-1"
          messages = [
              {"role": "user", "content": "what's the weather in sf?"}
          ]
          functions = [
              {
                  "name": "get_current_weather",
                  "description": "Get the current weather in a given location",
                  "parameters": {
                      "type": "object",
                      "properties": {
                          "location": {
                              "type": "string",
                              "description": "The city and state, e.g. San Francisco, CA",
                          },
                          "unit": {
                              "type": "string",
                              "enum": ["celsius", "fahrenheit"],
                          },
                      },
                      "required": ["location"],
                  },
              }
          ]
          response = litellm.completion(
              model=model, messages=messages, functions=functions
          )
          pytest.fail(f"An error occurred")
      except Exception as e:
          print(e)
          pass
  
imports: import sys, os, pytest
  import traceback
  import litellm
label_desc: Use image node_id 1 for calling a global function with example usage: test_function_call_non_openai_model() without return types