code: def test_get_ollama_params():
      try:
          converted_params = get_optional_params(
              custom_llm_provider="ollama",
              model="llama2",
              max_tokens=20,
              temperature=0.5,
              stream=True,
          )
          print("Converted params", converted_params)
          assert converted_params == {
              "num_predict": 20,
              "stream": True,
              "temperature": 0.5,
          }, f"{converted_params} != {'num_predict': 20, 'stream': True, 'temperature': 0.5}"
      except Exception as e:
          pytest.fail(f"Error occurred: {e}")
  
file_path: litellm/litellm/tests/test_ollama.py
imports: import sys, os
  import traceback
  from dotenv import load_dotenv
  import os, io
  import pytest
  import litellm
  from litellm.utils import get_optional_params, get_llm_provider
label_desc: Use image node_id 1 for calling a global function with example usage: test_get_ollama_params() without return types