langchain/callbacks/streaming_stdout.py/StreamingStdOutCallbackHandler/on_chain_end
class StreamingStdOutCallbackHandler:    def on_chain_end(self, outputs: Dict[str, Any], **kwargs: Any) -> None:
        """Run when chain ends running."""