Base class for run manager in LangChain.
class CallbackManagerForLLMRunCalled at the end of an LLM/ChatModel run, with the output and the run ID.
Called if an LLM/ChatModel run encounters an error
Called when an LLM/ChatModel in streaming mode produces a new token