Converts LangChain events to text and inserts tool lifecycle messages.
Events returned by the LangChain agent's streamEvents method.
streamEvents
Model text interleaved with human-readable tool start/end messages.
Converts LangChain events to text and inserts tool lifecycle messages.