Enter to send·Shift+Enter new line
Adds a message to the chat history.
addMessage(message: BaseMessage): Promise<void>
message
BaseMessage
The message to add to the chat history.