Base class for run manager in LangChain.
class CallbackManagerForLLMRunCalled when a Chat Model emits a content-block-centric stream event.
Called 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