code: def test_text_completion_stream():
      try:
          response = text_completion(
              model="huggingface/mistralai/Mistral-7B-v0.1",
              prompt="good morning",
              stream=True,
              max_tokens=10,
          )
          for chunk in response:
              print(f"chunk: {chunk}")
      except Exception as e:
          pytest.fail(f"GOT exception for HF In streaming{e}")
  
file_path: litellm/litellm/tests/test_text_completion.py
imports: import sys, os, asyncio
  import traceback
  from dotenv import load_dotenv
  import os, io
  import pytest
  import litellm
  from litellm import embedding, completion, text_completion, completion_cost, atext_completion
  from litellm import RateLimitError
label_desc: Use image node_id 8 for calling a global function with example usage: test_text_completion_stream() without return types