Enter to sendยทShift+Enter new line
format_messages( self, kwargs: Any = {}, ) -> list[BaseMessage]
Format kwargs into a list of messages.