langchain/callbacks/aim_callback.py/AimCallbackHandler/on_llm_new_token
class AimCallbackHandler:    def on_llm_new_token(self, token: str, **kwargs: Any) -> None:
        """Run when LLM generates a new token."""
        self.step += 1
        self.llm_streams += 1