code: def ollama_completion_stream(url, data, logging_obj):
      with httpx.stream(
          url=url,
          json=data,
          method="POST",
          timeout=litellm.request_timeout,
      ) as response:
          try:
              if response.status_code != 200:
                  raise OllamaError(
                      status_code=response.status_code,
                      message=response.iter_lines(),
                  )
  
              streamwrapper = litellm.CustomStreamWrapper(
                  completion_stream=response.iter_lines(),
                  model=data["model"],
                  custom_llm_provider="ollama_chat",
                  logging_obj=logging_obj,
              )
              for transformed_chunk in streamwrapper:
                  yield transformed_chunk
          except Exception as e:
              raise e
  
file_path: litellm/litellm/llms/ollama_chat.py
imports: import requests, types, time
  import json, uuid
  import traceback
  from typing import Optional
  import litellm
  import httpx, aiohttp, asyncio
  from .prompt_templates.factory import prompt_factory, custom_prompt
label_desc: Use image node_id 2 for calling a global function with example usage: ollama_completion_stream(url, data, logging_obj) without return types