langchain/callbacks/aim_callback.py/AimCallbackHandler/on_text
class AimCallbackHandler:    def on_text(self, text: str, **kwargs: Any) -> None:
        """
        Run when agent is ending.
        """
        self.step += 1
        self.text_ctr += 1