AbstractCloses the connection
AbstractonHandles the end of the connection
The callback to handle the end
AbstractonHandles errors from the LLM
The callback to handle errors
AbstractonHandles responses from the LLM
The callback to handle responses
AbstractsendSends a message to the LLM
The message to send
Base class for LLM connections