class_docstr: Unit tests for the HuggingFaceTextGen LLM class
code: def test_type_with_token(self):
      assert (
          HuggingFaceTextGen(
              inference_server_url="http://127.0.0.1:8080"
          ).type
          == "huggingface-text-generation"
      )
  
file_path: pandas-ai/tests/llms/test_huggingface_text_gen.py
imports: from pandasai.prompts import AbstractPrompt
  from pandasai.llm import HuggingFaceTextGen
label_desc: Use image node_id 1 for calling the TestHuggingFaceTextGen obj's underlying member method code with example usage: obj.test_type_with_token() without return types