code: def test_completion_ollama_hosted():
      try:
          litellm.request_timeout = (
              20  # give ollama 20 seconds to response
          )
          litellm.set_verbose = True
          response = completion(
              model="ollama/phi",
              messages=messages,
              max_tokens=2,
              api_base="https://test-ollama-endpoint.onrender.com",
          )
          # Add any assertions here to check the response
          print(response)
      except openai.APITimeoutError as e:
          print("got a timeout error. Passed ! ")
          litellm.request_timeout = None
          pass
      except Exception as e:
          if "try pulling it first" in str(e):
              return
          pytest.fail(f"Error occurred: {e}")
  
imports: import sys, os
  import traceback
  from dotenv import load_dotenv
  import os, io
  import pytest
  import litellm
  from litellm import embedding, completion, completion_cost, Timeout
  from litellm import RateLimitError
  import openai
label_desc: Use image node_id 22 for calling a global function with example usage: test_completion_ollama_hosted() without return types