Enter to sendยทShift+Enter new line
messages: List[BaseMessage]
Retrieve the messages from Upstash Redis