code: def test_sagemaker_weird_response():
      """
      When the stream ends, flush any remaining holding chunks.
      """
      try:
          chunk = """<s>[INST] Hey, how's it going? [/INST]
  
      I'm doing well, thanks for asking! How about you? Is there anything you'd like to chat about or ask? I'm here to help with any questions you might have."""
  
          logging_obj = litellm.Logging(
              model="berri-benchmarking-Llama-2-70b-chat-hf-4",
              messages=messages,
              stream=True,
              litellm_call_id="1234",
              function_id="function_id",
              call_type="acompletion",
              start_time=time.time(),
          )
          response = litellm.CustomStreamWrapper(
              completion_stream=chunk,
              model="berri-benchmarking-Llama-2-70b-chat-hf-4",
              custom_llm_provider="sagemaker",
              logging_obj=logging_obj,
          )
          complete_response = ""
          for chunk in response:
              complete_response += chunk["choices"][0]["delta"][
                  "content"
              ]
          assert len(complete_response) > 0
      except Exception as e:
          pytest.fail(f"An exception occurred - {str(e)}")
  
imports: import sys, os, asyncio
  import traceback
  import time, pytest
  from dotenv import load_dotenv
  import litellm
  from litellm import completion, acompletion, AuthenticationError, BadRequestError, RateLimitError, ModelResponse
label_desc: Use image node_id 19 for calling a global function with example usage: test_sagemaker_weird_response() without return types