code: def test_completion_logprobs_stream():
      """
      This function is used to test the litellm.completion logprobs functionality.
  
      Parameters:
          None
  
      Returns:
          None
      """
      try:
          litellm.set_verbose = False
          response = completion(
              model="gpt-3.5-turbo",
              messages=[
                  {"role": "user", "content": "what is the time"}
              ],
              temperature=0.5,
              top_p=0.1,
              seed=12,
              max_tokens=5,
              logit_bias=None,
              user="ishaans app",
              logprobs=True,
              top_logprobs=3,
              stream=True,
          )
          # Add any assertions here to check the response
  
          print(response)
  
          found_logprob = False
          for chunk in response:
              # check if atleast one chunk has log probs
              print(chunk)
              if "logprobs" in chunk.choices[0]:
                  # assert we got a valid logprob in the choices
                  assert (
                      len(
                          chunk.choices[0]
                          .logprobs.content[0]
                          .top_logprobs
                      )
                      == 3
                  )
                  found_logprob = True
                  break
              print(chunk)
          assert found_logprob == True
      except Exception as e:
          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 20 for calling a global function with example usage: test_completion_logprobs_stream() without return types