langchain/callbacks/streamlit.py/StreamlitCallbackHandler/on_chain_end
class StreamlitCallbackHandler:    def on_chain_end(self, outputs: Dict[str, Any], **kwargs: Any) -> None:
        """Print out that we finished a chain."""
        st.write("Finished chain.")