docstr: StreamlitCallbackHandler must support its original API.
docstr_tok: ["StreamlitCallbackHandler","must","support","its","original","API","."]
code: def test_stable_api(self):
      """StreamlitCallbackHandler must support its original API."""
      from streamlit.external.langchain import (
          LLMThoughtLabeler,
          StreamlitCallbackHandler,
      )
  
      StreamlitCallbackHandler(
          st.container(),
          max_thought_containers=55,
          expand_new_thoughts=True,
          collapse_completed_thoughts=False,
          thought_labeler=LLMThoughtLabeler(),
      )
  
file_path: streamlit/lib/tests/streamlit/external/langchain/streamlit_callback_handler_test.py
imports: from __future__ import annotations
  import unittest
  from pathlib import Path
  from unittest.mock import MagicMock
  import pytest
  import semver
  from google.protobuf.json_format import MessageToDict
  import streamlit
  from tests.delta_generator_test_case import DeltaGeneratorTestCase
label_desc: Use image node_id 2 for calling the StreamlitCallbackHandlerAPITest obj's underlying member method code with example usage: obj.test_stable_api() without return types